|
Summary
Name of remote file to transfer.
Description
The RemoteFile property specifies the name of the remote file to be used during a file transfer. File transfers are initiated by setting the FileAction property to FILE_ACTION_GET or
FILE_ACTION_PUT.
This property must be set to the name of a file in the current remote working directory for both direct and event based file transfers.
This property can be changed at any time except during a file transfer. There is no default value for this property.
Example
FTPClient.RemoteFile = "test.exe" FTPClient.LocalFile = "c:\test.exe" FTPClient.FileAction = FILE_ACTION_GET
Note
For new applications specify the source or destination in the GetFile, PutFile, Romote and RemoteAppend methods instead of setting this property.
|