Re: [Freedos-user] HTGet rewrite for mTCP

2011-07-26 Thread Michael B. Brutman
On 7/26/2011 12:09 PM, Bernd Blaauw wrote: > HTGET supporting common HTTP URL/URI syntax > (http://server.domain.extension/path/file.ext) is good enough already. > your -userpass seems to indicate no complete syntax is possible, and > portnumbers either assumed 80 or not changeable. > > http://us

Re: [Freedos-user] HTGet rewrite for mTCP

2011-07-26 Thread Rugxulo
Hi, On Tue, Jul 26, 2011 at 12:09 PM, Bernd Blaauw wrote: > > As for WGET: I'd much prefer an online WGET.EXE to download instead of a > WGET.ZIP and adding unzipping requirements. htget -o infozipx.zip http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/pkgs/infozipx.zip

Re: [Freedos-user] HTGet rewrite for mTCP

2011-07-26 Thread Bernd Blaauw
Op 26-7-2011 3:36, Michael B. Brutman schreef: > On a side note, a custom built updater for FreeDOS using HTTP would be > interesting. (HTTP is far easier to work with because the responses are > parseable and there is only one socket to deal with, which is always > outgoing from the client point

Re: [Freedos-user] HTGet rewrite for mTCP

2011-07-25 Thread Michael B. Brutman
On 7/25/2011 7:46 PM, Mike Eriksen wrote: > 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 There is no simple "call" ... the FTP client is a stand-alone program. In the event

Re: [Freedos-user] HTGet rewrite for mTCP

2011-07-25 Thread Mike Eriksen
On Tue, Jul 26, 2011 at 2:24 AM, Michael B. Brutman 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 su

Re: [Freedos-user] HTGet rewrite for mTCP

2011-07-25 Thread Michael B. Brutman
On 7/25/2011 6:58 PM, Rugxulo wrote: > I assume this would work? ;-) > htget -o wgetx.zip > http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/pkgs/wgetx.zip > Worked just fine ... Response code 200 from the server, 510347 bytes received in a correct/verified ZIP file. M

Re: [Freedos-user] HTGet rewrite for mTCP

2011-07-25 Thread Michael B. Brutman
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 (resp

Re: [Freedos-user] HTGet rewrite for mTCP

2011-07-25 Thread Rugxulo
Hi, On Mon, Jul 25, 2011 at 6:52 PM, Bernd Blaauw wrote: > Op 25-7-2011 13:53, Michael B. Brutman schreef: > >> I have an early version of HTGet ready that I would like to get some >> more testing on before it becomes part of mTCP.  It is available here: >> >>       http://www.brutman.com/mTCP/ht

Re: [Freedos-user] HTGet rewrite for mTCP

2011-07-25 Thread Bernd Blaauw
Op 25-7-2011 13:53, Michael B. Brutman schreef: > I have an early version of HTGet ready that I would like to get some > more testing on before it becomes part of mTCP. It is available here: > > http://www.brutman.com/mTCP/htget.zip > > HTGet lets you download a file (or whatever content) f