Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to download an FTP site (a web site source code actually) containing a very high quantity of relatively small files (downloading it with FileZilla took more than a day, but I believe it could be downloaded much faster if many files were downloaded at once). Unfortunately there is no SSH access to the site and no way to archive the files on the server side.

So at least the question is how to download a whole FTP site into a folder using command line tools. A better it'd be if the download could be parallelized by downloading many files simultaneously instead of one by one.

share|improve this question
What if in the username or in password exists the at sympol (@) ? – Vagelism22678 Feb 21 '15 at 8:01
up vote 15 down vote accepted

Try the following:

wget -r

this will go to 5 depth levels; to increase, add the -l option

Some servers don't like this behavior, and you risk getting blacklisted because of the load on the server. To avoid this, use the -w option to wait a specified number of seconds.

More info (as well as caveats) can be found here:

share|improve this answer

Your Answer


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.