Attachmate.Reflection.Objects.Emulation.OpenSystems Library > FileTransfer Object : FTPReceiveFile Function |
DestinationFileExistsOption.AskUser prompts the user to specify what should be done.
DestinationFileExistsOption.Cancel stops the transfer.
DestinationFileExistsOption.Update performs the transfer only if the host file is newer than the PC file.
DestinationFileExistsOption.Delete deletes (overwrites) the existing file.
DestinationFileExistsOption.Append appends the contents of the host file to the existing PC file.
DestinationFileExistsOption.Rename renames the file being transferred. The existing file retains the original name. The last three characters of the file being transferred are changed to 001. If such a file already exists, the file's name is changed to 002, and so on up to 999.
DestinationFileExistsOption.Skip skips the file (the transfer does not take place, but no error results).
object.FTPReceiveFile( _ ByVal localFile As String, _ ByVal remoteFile As String, _ ByVal transferType As TransferTypeOption, _ ByVal fileExists As DestinationFileExistsOption, _ ByVal before As System.Date, _ ByVal since As System.Date, _ ByVal exclude As String _ ) As ReturnCode
DestinationFileExistsOption.AskUser prompts the user to specify what should be done.
DestinationFileExistsOption.Cancel stops the transfer.
DestinationFileExistsOption.Update performs the transfer only if the host file is newer than the PC file.
DestinationFileExistsOption.Delete deletes (overwrites) the existing file.
DestinationFileExistsOption.Append appends the contents of the host file to the existing PC file.
DestinationFileExistsOption.Rename renames the file being transferred. The existing file retains the original name. The last three characters of the file being transferred are changed to 001. If such a file already exists, the file's name is changed to 002, and so on up to 999.
DestinationFileExistsOption.Skip skips the file (the transfer does not take place, but no error results).