Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to download a big quantity of files from other host directly in my VPS via SSH. Reason: The VPS bandwidth is so much faster than my home connection, and I won't download files from the host to my PC and then upload to the VPS.

I've already used wget, which has directory recursion but uses only one connection, making the process slow.

I've also tested aria2 which has multiple connection, but no directory recursion.

share|improve this question
1  
Are you downloading all files from the same 'other server'? Does the speed increase when you start wget twice? (I am asking because you might not gain any speed if you are already filling the bandwidth 'pipe' of one of the two servers). –  Hennes Apr 27 '13 at 20:39

1 Answer 1

up vote 0 down vote accepted

If SSH is setup already, the simplest is probably using scp. scp -r ~/localfolder/ username@remote-host.com:/remote/path/to/files/ will do the job, and copy all directories recursively, as you would expect cp -r to do.

share|improve this answer
    
I used and it significantly increased the download speed. Thanks! –  Jairo Santos Apr 27 '13 at 21:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.