Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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)


Topic review


Re: Email notification query

WinSCP will by default fail if there are no files to transfer.
You can detect the failure and send the email.
A simple example for that is here:

Email notification query


Forgive me if this has already been answered. I have had a look but not found the answer yet. I have an ftp server that receives files every hour. We then move those files over to our file server via .bat script that logs in using WinSCP. My query is, what would be the best way of adding an email notification in the event that there was no new file there to pick up on the ftp share.