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.

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

martin

Re: Polling for Files on an FTP Server (Check if a file exists)

WinSCP does not have such functionality. But you can just try to download the file and if that fails, wait for some time. You can check the script failure from the WinSCP exit code.
wrighty08

Polling for Files on an FTP Server (Check if a file exists)

I need some help with incorporating a check to see if a file exists before it is downloaded.

I am using batch files which are then automated

I need to check if a file exists before I download it and if not then wait for a period of time and then try again. I tried If Exist but Winscp did not seem to like this

any help would be much appreciated

thanks

Alex