How to use custom commands to zip files on task scheduler export job
I've been using following line from https://winscp.net/eng/docs/guide_schedule to export csv files to our FTP.
It works fine, but due to the big size of the csv i would like to zip them.
I read that could be used, can i implement that to the task scedule line?
/log=c:\path\winscp.log /command "open sftp://user:password@example.com/" "put -delete d:\*.csv /home/user/" "exit"
It works fine, but due to the big size of the csv i would like to zip them.
I read that
zip -r "!?&Enter an Archive Name:?archive.zip!" !&