Tomasz Machnik wrote: > I think there is a problem with wget. On some sites downloaded file has > incorrect name. For example - files downloaded from site www.chomikuj.pl > have incorrect name. > > Example: go to http://chomikuj.pl/musculus/Filmy+i+seriale+(z+TV)/Serce > +lwicy+(Heart+of+a+Lioness)/podzielone/ and try to download a file (for > example 'sercelwicy.part600.rar' This site requires cookies, but it is > no problem (I'm using Firefox with Flashgot and wget - it works). I can > download this file but filename is: > 'File.aspx?id=xxxxxxxx&vid=xxxxxxxx&tk=xxxxxxx&t=xxxxxxxxxxxxxxxxxxx&d=xx&k=xxxxxxx&name=sercelwicy.part600.rar' > (should be 'sercelwicy.part600.rar') > > Other programs (for example aria2) works fine - filename is correct. > Problem is only with wget.
If you have GNU Wget 1.11 or later, see the --content-disposition option. -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. Maintainer of GNU Wget and GNU Teseq http://micah.cowan.name/
