Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

We are using WGET 1.12 for windows on a site (with follow_tags = a, reclevel = 8, recursive = on and timestamping = on wgetrc settings) and are seeing two issues:

a. The file is deleted and a directory with the same name is created. The original file is lost.

For eg.


is saved as file:


And then…



is saved as file:


Here the file ‘abc’ which was earlier created is deleted and instead a directory with the name ‘abc’ is created. The ‘abc’ directory contains the ‘def’ file but the original ‘abc’ file is lost

b. The file is not deleted and an error is thrown instead

For eg.



is saved as file:


And then…



is NOT saved. It gives an error. And it doesn’t delete the previously created 2006 file.

Error: some_dir/xyz/2006/12: No such file or directory

Is anyone aware of any such issues with WGET? Or is there some issue with my config parameters? Please let me know if you need more information. Thanks for your help.

Regards, Nike

share|improve this question

Old question, but ended here with a search relating to the issue of having a file saved which has the same name as the directory of assets.

Eventually found the solution for me here:

Using -E solved my problem.

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.