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

TechLifeWeb

Stop processing if nothing to sync

I use WinSCP to sync down a folder and then use a Windows Batch file to process it.
Is there any way to flag when "Nothing to Sync" is present so that I can just tell my batch file to move on to the next if there is nothing to do?

Normally, I'd just check for the existence of files and move them out of them from the download folder between runs but in this case I can't change the files on the server so I have to use other methods to tell if the files are new.