Re: sftp copy file then move file moved but not copied
Making this transactionally safe cannot be easily achieved with simple WinSCP scripting.
You better use a more powerful script language. We have an example for upload in PowerShell:
Moving local files to different location after successful upload
For download, check this question on Stack Overflow (and my answer there):
Moving (not copying) remote files after download with WinSCP .NET assembly
You better use a more powerful script language. We have an example for upload in PowerShell:
Moving local files to different location after successful upload
For download, check this question on Stack Overflow (and my answer there):
Moving (not copying) remote files after download with WinSCP .NET assembly