Description
-
Sends a file to the server, appending it at given position.
Return Type
-
None
Syntax
-
object.PutFileAt64 [LocalFile],
[RemotePath], RemotePosLo, RemotePosHi
The PutFileAt64 Method syntax has these parts:
| object |
An expression
evaluating to an object of type wodFtpDLX. |
| LocalFile |
Optional. A Variant
value. Full path to filename on your local disk. |
|
RemotePath |
Optional. A Variant
value. Full path to filename where local file will be
copied on server. |
|
RemotePosLo |
Required. A lower long value
for 64 bit integer that specifies the position in remote file at
which copying will start. |
|
RemotePosHi |
Required. A higher long value
for 64 bit integer that specifies the position in remote file at
which copying will start. |
Remarks
-
The PutFileAt64 function will copy files from the local computer
to the remote server, starting at the given position. During the
transfer, the
Progress event will be fired several times, depending on your
network speed and length of the file. When copying is complete, the
Done event will be
fired.
If an error occurs during the transfer, the Done event containing
the ErrorCode and a description of the error will be fired
immediately and the transfer will be aborted. If you want to
continue the transfer at a later time, or you want to resend the
file, initiate the PutFileAt function again (immediately or after
reconnecting, depending on the error that occurred). You can NOT use
the Resume property
to restart the transfer. Increase the value of the RemotePos
argument instead!
Please read help for
PutFile to get more general info about downloading a file.
|