FirstClassトップページ


 ヘルプの目次
このヘルプについて このヘルプについて
 
エンドユーザ向けヘルプ エンドユーザ向けヘルプ
Client Help クライアントヘルプ
Web Help Webアクセスヘルプ
ScreenReader Help スクリーンリーダ
Form フォーム
Synchronization 同期
Definitions 用語
container コンテナ
 
管理者向けヘルプ 管理者向けヘルプ
Administration サーバの管理
Internet Services インターネットサービス
Customization Tools カスタマイズツール(英語)
Administering OTSW OTSWの管理
OTSW Custodian OTSW Custodian
Using FirstClass ED FirstClass ED(英語)
 
バナー:
 
 ServerFile.OpenFile
ホーム • Customization Tools • FCAS • Language Reference • ServerFile.OpenFile
 
Purpose
Opens, creates, or sends a file on the FirstClass server, or container in that file, for reading, writing, and/or downloading.
Syntax
ServerFile.OpenFile (Path, OpenConst)


Path
Specifies a path to a file on the server that is to be opened. The path can include a container within the file.
OpenConst
Specifies how to open the file, using one of the following values:
fcRead
Opens a file for reading
If the file can't be found, the call fails.
fcWrite
Opens a file for writing
If the file exists, its content is deleted. If the file doesn't exist, a new file is created.
fcAppend
Opens a file for appending without removing the EOF marker before writing new data.
If the file doesn't exist, a new file is created.
fcUpdate
Opens a file for both reading and writing.
If the file can't be found, the call fails.
fcReadWrite
Opens an empty file for both reading and writing.
If the file exists, its content is deleted. If the file doesn't exist, a new file is created.

Example
Dim sf as ServerFile

sf.OpenFile ("Mailbox", fcRead)
sf.OpenFile ("Mailbox|John", fcRead)

 

Copyright(C) 2002-2012 FC Management Co. All Rights Reserved<