I have issues using wget,

basically I use it like:

wget -m ftp://username:password@hostname.com:/path/to/dirs

After everything's complete (it says xxx files in xx MB for xx seconds), however, when I inspect the files, I notice it actually didn't completely download everything, am I missing something?

  • By "completely download," are you saying (a) It only downloaded some of the files completely, or (b) it download all of the files, but some of them have only partial content? – Andrew M. Jan 2 '11 at 15:00
  • it's (a), any idea what's causing it? – Andreas Wong Jan 2 '11 at 15:09
  • This might be a duplicate of: serverfault.com/questions/178607/… – Paul Jan 2 '11 at 15:43
  • I have also issues that despite --mirror --page-requisites some CSS file is not downloaded. Still investigating why. – Andy Oct 28 '18 at 18:56

There's nothing wrong with your command (except a missing port, which wget can handle).

How are you verifying your local files are the same as the remote ones? You could try retrieving a problematic file with cURL for comparison. If you are certain they're different then I suspect it's something to do with the FTP server.


  • the FTP server's transfer logs - are the transfers listed as complete?
  • in wget's output: is the Length header returned or do you see Length: unspecified
  • any errors in wget's output

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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