Sync script with parallel connections
Hello, I have a Sync script downloads files to my local computer
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)
Thanks
# Connect open sftp://user:pass@domain.com/ -hostkey="ssh-rsa 2048 xxxxxxxx" synchronize local D:\backups\server /home/user/uploads close
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)
Thanks