Thanks! I didn't quite realise from the docs that the /command switch was exactly what I needed. Thanks for your help and your work on WinSCP - it's awesome!
Pete.
martin
Re: Mirror a directory with one command
WinSCP can do that.
Please read documentation. If that does not help, come back.
For example, with Robocopy I would call something like Process.Start("robocopy.exe", "C:\Source \\remote\destination /MIR") - can I do something similar with WinSCP and a remote ftp://remote/destination URL?
sumo.the.cat
Mirror a directory with one command
Hi there,
Is WinSCP capable of mirroring an entire local directory to a remote FTP location using one command? I'm launching from a managed .NET application using something like Process.Start(exe, args) so I'd rather not do any explicit scripting.