scripting - synchronize - multi-thread

Advertisement

syncs
Guest

scripting - synchronize - multi-thread

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 :D

Reply with quote

Advertisement

tibberous
Joined:
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.

Reply with quote

Advertisement

You can post new topics in this forum