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: Synchronize to different subdirectory possible?

No, this is not supported.

But it should not be difficult to script this using WinSCP .NET assembly from a PowerShell script (or other language).

Synchronize to different subdirectory possible?

I am looking at synchronizing local files with remote ones. My difficulty is that I want to put the files into a subdirectory at the remote site. That is:

For any newer file found in directory 'alpha' locally put the newer file into the remote directory 'alpha/input'.

I want to use the /input subdirectory at the far end so that I can delete any other files in there and not touch the user's files in his main (remote) alpha directory.

This goes for all of the many local directories. (The local directories are all of the one depth.)

That is, any newer files in 'beta' directory should go to remote 'beta/input'

In short, would something like this work:
synchronize remote -delete d:\*\* e:*/input/*