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.

When trying to use the command line on Windows to wget a file, I'm getting a 404 error

C:\Users\xxxx>wget + http://www.restaurantanzu.com/PDFs/Dinner908.pdf;
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files\GnuWin32/etc/wgetrc
--2011-06-07 15:59:19--  http://+/

Resolving . 67.199.65.121
Connecting to |67.199.65.121|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-06-07 15:59:21 ERROR 404: Not Found.
share|improve this question

migrated from stackoverflow.com Jun 7 '11 at 23:56

This question came from our site for professional and enthusiast programmers.

2 Answers 2

Why is the + right after the wget command? Looks like wget is trying to resolve/pull that as a URL based on the end, the "http://+/"

Try it without the +. In fact, try it with just:

wget http://www.restaurantanzu.com/PDFs/Dinner908.pdf

This works for me on a linux box.

share|improve this answer

Drop the + (as mentioned by @baraboom) and also drop the semi-colon at the end of the line.

share|improve this answer

Your Answer

 
discard

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