Topic "scripting - synchronize - multi-thread"

Author Message
syncs

Guest


guys ,
Being new to using Winscp , i have known that its one of the best tools i ever had with regards to file transfer.
I have created a script for synchronize files from a remote server to a local machine.

Just a few questions about WinSCP.
1. does Winscp's synchronize use multi-threading when it transfers files from remote to local?
2. if yes , is it by default , or can it(multithreading file transfer) be done via scripting?

thanks much for the help and clarification Very Happy
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
No it does not.
_________________
Martin Prikryl
tibberous
[View user's profile]

Joined: 2009-07-13
Posts: 2
Location: PA
Would be awesome if it did.

If you want to speed it up a little, this works good:

cd /var/www/vhosts/site.com/httpdocs/
call tar -czf site.tar.gz *
get site.tar.gz
call rm -f site.tar.gz

It downloads as a zip file, which may or may not make a huge difference, depending on what you are doing. Lots of little files, especially text files, will benifit the most from this method. For large files, especailly mooooooovies that don't compress, or if you are trying to use sync instead of get, then don't bother doing this.
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