Gets the specified file from the remote host and places it in the current directory.
Return Value
Void.
Syntax
object.GetFile [RemoteFile], [LocalFile]
Parameters
RemoteFile
Optional. String containing the remote file to retrieve.
Data Type: String
Param: IN
Default Value: Empty
LocalFile
Optional. String containing the local filename to use when saving the remote file.
Data Type: String
Param: IN
Default Value: Empty
Comments
The arguments override the values from the corresponding FTP.RemoteFile and DocOutput.FileName properties. The value of the properties will not change. If the arguments are omitted, the value from the corresponding property will be used to provide a filenames for the get file operation.
Both local and remote names should be specified, even if they are the same.
Use the ReplyString to determine the result of this call. The data from this method is sent to the DocStream interface via the DocOutput event. During processing of the DocOutput event, the Operation property is set to FTPFile.