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

martin

Re: Sync directory tree to single dir?

I have written an example script. See the link in my edited answer above.
Guest

Re: Sync directory tree to single dir?

redlav wrote:

I have no idea how I could solve the problem with .NET.
Is there a code example where I could get my bearings?

regards redlav


Hi redlav, did you get it to work?
redlav

Re: Sync directory tree to single dir?

I have no idea how I could solve the problem with .NET.
Is there a code example where I could get my bearings?

regards redlav
martin

Re: Sync directory tree to single dir?

No WinSCP cannot do this automatically.
Though scripting this in a PowerShell using WinSCP .NET assembly won't be that difficult.
redlav

Re: Sync directory tree to single dir?

martin wrote:

Again, sync or plain copy (upload)?


Hi,

the transfer will take place in Sync mode. All changes should be applied to the target directory. In other words, no longer existing files in the source will be deleted from the target.

Thank you very much for your efforts.

regards redlav
martin

Re: Sync directory tree to single dir?

Again, sync or plain copy (upload)?
redlav

Re: Sync directory tree to single dir?

Hello, I have coincidentally the same problem.

I have created a folder structure that is used for better overview.
Changes to files (change / delete / new) are to be synced in a single
directorie for further processing in this structure.

regards redlav
martin

Re: Sync directory tree to single dir?

Sync or copy (upload)?
kleach

Sync directory tree to single dir?

Is there a way I can sync a whole directory tree into one directory on the remote site?

-Ken