Post a reply

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


Sync script with parallel connections

Hello, I have a Sync script downloads files to my local computer

# Connect

open s  -hostkey="ssh-rsa 2048 xxxxxxxx"
synchronize local D:\backups\server  /home/user/uploads

But this script downloads and sync files one by one. Because there are too many small files it is very in efficient and takes forever to finish. (there are 250000+ files)

My question, is there a way to achieve concurrent sync of multiple files at the same time?

(Note: I can only use winscp scripting, not .net assembly)