i have a windows server where i have set a task scheduled to start get every one hour, i retrieve log file from a remote server (unix).
i use synchronize option before but i encounter an issue because i can't delete file after transfer only 'get' can do that.
so someone can help me to automate this script without alert.
"C:\Program Files\WinSCP\winscp.Exe" /console firstname.lastname@example.org /privatekey="D:\Sources\NetReport_New_PPK.ppk" /script="D:\script\Script_SFTP_SG1.txt"
get -delete *.log "D:\Applications\Netreport\Logs\Engine\FlatFile\Proxy SG1\"