Discuss this help topic in SecureBlackbox Forum

SFTP: Handle situations, when the destination file exists

File transfer methods of TElSimpleSFTPClient class have TransferMode parameter, which specifies how the component behaves when the remote file with the specified name exists.

Possible options are

  1. skip the existing file
  2. append the data to the end of the remote file
  3. resume the transfer, if the size of the remote data is less than size of the local file
  4. overwrite the data
  5. transfer the data to the file with a new name
  6. rename the existing destination, then transfer the file.
For complete description please see SBFileTransferMode type topic.

How To articles about SFTP client

Discuss this help topic in SecureBlackbox Forum