Attachmate.Reflection.Objects.Emulation.OpenSystems Library > FileTransfer Object : FTPSendFile Function |
TransferTypeOption.Binary specifies binary file transfer. Data in the file is not translated as it is transferred.
TransferTypeOption.AutoDetect determines file transfer type by the file extension. Use these properties to determine which file extensions are linked to which transfer type: TransferAutoDetectDefaultType; TransferAutoDetectASCIIExtensionList; and TransferAutoDetectBinaryExtensionList
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 filename 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.FTPSendFile( _ 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
TransferTypeOption.Binary specifies binary file transfer. Data in the file is not translated as it is transferred.
TransferTypeOption.AutoDetect determines file transfer type by the file extension. Use these properties to determine which file extensions are linked to which transfer type: TransferAutoDetectDefaultType; TransferAutoDetectASCIIExtensionList; and TransferAutoDetectBinaryExtensionList
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 filename 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).