From: Bradley W. <gee...@gm...> - 2007-10-03 22:40:20
|
adding 'content_disposition = off' (is that correct?) to /etc/wgetrc and trying again just outputs a warning during the download: # wget -P `pwd`/dl http://download.berlios.de/gpsd/gpsd-2.33.tar.gz wget: Unknown command `content_disposition' in /etc/wgetrc at line 24. --17:36:57-- http://download.berlios.de/gpsd/gpsd-2.33.tar.gz Resolving download.berlios.de... 195.37.77.141 Connecting to download.berlios.de|195.37.77.141|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 639348 (624K) [application/x-download] Saving to: `gpsd-2.33.tar.gz' 100%[=======================================>] 639,348 45.9K/s in 14s 17:37:11 (45.2 KB/s) - `gpsd-2.33.tar.gz' saved [639348/639348] ~ brad. On 10/3/07, Bradley Worley <gee...@gm...> wrote: > i wish it were that easy, but that seems to be crashing wget... > > # wget -v -d -nd --passive-ftp --no-content-disposition -P `pwd`/dl > http://download.berlios.de/gpsd/gpsd-2.33.tar.gz > Setting --no (dirstruct) to 0 > Setting --passive-ftp (passiveftp) to 1 > wget: init.c:612: setval_internal: Assertion `0 <= comind && comind < > (sizeof (commands) / sizeof ((commands)[0]))' failed. > Aborted > > ~ brad. > > On 10/3/07, Craig Hughes <cr...@gu...> wrote: > > > > On Oct 3, 2007, at 3:16 PM, Craig Hughes wrote: > > > > > On Oct 3, 2007, at 2:52 PM, Bradley Worley wrote: > > > > > >> that's my best guess too. upon further testing, it seems that the > > >> wget-1.10.2-to11.patch in my SRPM is breaking this functionality. > > >> most > > >> likely this is something that the rh people changed in src/http.c ... > > > > > > <https://bugzilla.redhat.com/show_bug.cgi?id=229744> > > > > > > Looks like there's a --no-content-disposition flag which could be > > > used on redhat to maybe avoid this bug. Can someone with an RH > > > install test passing --no-content-disposition to the wget command > > > along with -P? > > > > If that works, then it's probably best to set it in /etc/wget/wgetrc > > or ~/.wgetrc or wherever so that it'll always ignore the content- > > disposition header. > > > > C > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > |