Check if files were send with SYNCHRONIZE
We're using a batch file that calls winscp with a script file to synchronize a folder on our local server with a folder on our webserver. This script is run every night. When something goes wrong i can detect that and send an email to myself.
Most nights there is nothing to synchronize, but where there is i would like to send an email to mysef.
How can i detect in the batch file that the synchronize command actually did send files to the other side?
Most nights there is nothing to synchronize, but where there is i would like to send an email to mysef.
How can i detect in the batch file that the synchronize command actually did send files to the other side?