Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am currently using wget -m to mirror a remote FTP but the speed suck, what are the good alternative (command) so we can parallel to download in order to boost the speed up?

share|improve this question
1  
Do you have any control over the remote FTP? Or does it offer rsync? That would be much more efficient depending on the data set you like to mirror. –  gertvdijk Nov 21 '12 at 11:07

2 Answers 2

up vote 1 down vote accepted

take a look at the lftp - it's quite powerful ftp client that has option for the parallel downloads:

mirror' can download several files in parallel (--parallel option) and a single file withpget' (--use-pget-n option).

it's available in standard debian's repository so you should have it as well in ubuntu without using 3rd party binaries or compiling it from source.

share|improve this answer

As mentioned by pQd lftp is a great tool for that and it's included in "all" distributions.

lftp -u user,pwd -e "mirror --parallel=3 --verbose /$REMOTE_DIR /$LOCAL_DIR" $REMOTE_HOST

You can run it several times with time and different values of --parallel to find the best value.

share|improve this answer

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.