Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Bascy

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?