Delete files first before transferring new files
Hi everyone,
I'm using a scripted batch automation to sync files from a local storage to a FTP location - it works like a charm since months! Thank you very much for your great tool and this great forum!
My Question would be if it is possible for WinSCP to first check remote files against local storage assets and delete obsolete remote files FIRST before transferring new files to the remote location?
This is my current setup, maybe you guys could help me out? ;
Cheers, have a nice day! :)
I'm using a scripted batch automation to sync files from a local storage to a FTP location - it works like a charm since months! Thank you very much for your great tool and this great forum!
My Question would be if it is possible for WinSCP to first check remote files against local storage assets and delete obsolete remote files FIRST before transferring new files to the remote location?
This is my current setup, maybe you guys could help me out? ;
%winscp% /command ^ "option batch on" ^ "option confirm on" ^ "open %FTPTARGET%" ^ "synchronize remote -delete -mirror %destWF% %destDF%" ^ "exit" ^ /log=%destDL%\Sync_%datestamp%.log ^ /loglevel=-1