Hi Rebex Team,
I am trying out Rebex.Sftp (2020 R2) version 5.0.7450.0 to upload files. I specified to overwrite files, like this:
sftp.Upload("\\mydomain.com\Temp*.trg", "/home/",
TraversalMode.MatchFilesShallow,
TransferMethod.Copy,
ActionOnExistingFiles.OverwriteAll);
But I am getting this error:
ERROR: SFTP transfer error uploading '\mydomain.com\Temp\GLCHO0000C202006239381.trg' to '/home/GLCHO0000C202006239381.trg' - Rebex.Net.SftpException: File with the same name already exists ('/home/GLCHO0000C202006239381.trg').
Am I missing something? I can post more of my code if needed.
Thank you,
Rob