Kitty
Kitty

Reputation: 19

Wget: http request sent, awaiting response.... 400 bad request

I was trying to download list of files from a text file using wget and save them in a folder (here "game" is folder name), earlier it was working fine but all of sudden it stopped working means wget is not downloading any files from the given list.

Command:

wget --no-check-certificate -E -H -k -K -p -e robots=off -Pgame \ -i ./list.txt

Contents of list.txt

http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/menu_parlante-sheet0.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/btnpausa-sheet0.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/btnpausa-sheet1.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/bgscoreui-sheet0.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/btnback-sheet0.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/btnback-sheet1.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/bgcredits-sheet0.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/titulo-sheet0.png

If the list contains only 1 line/ file address/path then wget downloading the file if it consists of multiple lines of urls then its giving error as "http request sent, awaiting response.... 400 bad request"

Upvotes: 0

Views: 16568

Answers (1)

Mojtaba Zali
Mojtaba Zali

Reputation: 11

this worked for me (without the backslash), the first four links return 404 response though:

wget --no-check-certificate -E -H -k -K -p -e robots=off -Pgame  -i ./list.txt

Upvotes: 0

Related Questions