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

omega1

Mirror FTP folder TO local folder

Hi all,

New here, apologies if this is easy and already covered

First of all, can WinSCP actually do what I am trying to achieve and second, can it be automated into a batch command file that I can trigger via Task Scheduler?

What I would like to achieve is to schedule (via Task Scheduler) a batch file, that will automate the following:

- Connect to a remote FTP site.
- Mirror contents to local drive to include downloaded new/changed content FROM the remote FTP site TO the local folder AND delete content on local folder which no longer exists on FTP site.

Can I do this with WinSCP?
Can someone help with a how to set this up with a batch script?

Thank you all in advance for any help on this.