Re: Synchronize and then make a copy of files synchronized
It's not possible (or hard to implement) in simple scripting.
Though, would it work, if you run
Or, you can use .NET assembly. Call
And then iterate returned
See these articles that cover similar tasks:
https://winscp.net/eng/docs/script_local_move_after_successful_upload
https://winscp.net/eng/docs/library_example_delete_after_successful_download
Though, would it work, if you run
synchronize
second time against the other folder?
Or, you can use .NET assembly. Call
Session.SynchronizeDirectories
.
And then iterate returned
SynchronizationResult.Uploads
, uploading each synchronized file to the other folder.
See these articles that cover similar tasks:
https://winscp.net/eng/docs/script_local_move_after_successful_upload
https://winscp.net/eng/docs/library_example_delete_after_successful_download