Object: | ResumeInfo |
Syntax: | oResumeInfo.TopFolder [=Folder Path] |
Type: | String |
Default Value: | None |
Read/Write: | Read/Write |
Description: |
In a resumable file transfer, TopFolder specifies the folder in which
to store request data before initiating a file transfer. If
CacheRequest is set to true , the whole file transfer
request will be stored in the folder specified by TopFolder . If CacheRequest
is set to false , only information about the request will be stored.If TopFolder is not set, XFile will store request data in the user's
temp directory.
Note that there is a security risk involved in using the user's temp directory. If a user runs two Web applications that use XFile for resumable transfers, and both applications save data to the default client temp directory, each application will have access to the RequestRecord
s of the other Web application. To keep your application's RequestRecord s
secure, set TopFolder . You can use FileManager's
CreateFolder method
to create a directory on the client’s machine.
|
Example: |
|