Topic "Synchronize Subfolders"

Author Message
Knarr

Guest


Hello,

how can I synchronize some subfolders from remote to local with commandline options in a batch file?
For example I have some files in remote root directory and two subfolders (pictures and intern) and I want to download the files index.html, 1.html, 2.html etc. to my local drive c:\Backup\index.html, 1.html, 2.html etc
and the subfolders with files to my local drive c:\Backup\pictures\1.jpg, 2.jpg etc. and c:\Backup\intern\1.txt, 2.txt.
WinSCP copy all files from root directory and from the subfolders to c:\Backup.
No Subfolder c:\backup\pictures

How can I copy the files to the subfolders?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
I'm sorry but I do not understand what you want to do differently to what WinSCP does actually.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License