On Tue, Jul 26, 2011 at 2:24 AM, Michael B. Brutman <mbbrut...@brutman.com> wrote: > On 7/25/2011 6:52 PM, Bernd Blaauw wrote: >> Thanks for creating this. It means you're pretty close to a basic WGET, >> and also reminds me why I never liked HTGET: no support for FTP and >> REDIRECT/MOVED. URL parsing seems fine. Not sure if/how HTGET would >> respond to HTTPS:// >> >> Example URL (responding with 403 / Moved): >> htget -o c:\fdbootcd.iso >> http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.1-test2/fd11tst2.iso >> >> still HTGET will have its uses, just need to find specific files first :) >> >> Bernd > > In this particular example HTGet returns the following: > > Server return code: 301 Moved Permanently > New location: > ftp://ftp.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.1-test2/fd11tst2.iso > > HTGet parsed the headers correctly and even told you where to get the > new content. But the new location is FTP only. I would call that an > error on the part of the admin who moved it. ;-0 There is a nice, > scriptable FTP client though ...
Maybe a stupid idea, but couldn't HTGet just call you FTP client in case of a FTP-URL and let that one handle the download and keep the rest inside HTGet? Mike ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user