1. WinsockStuf
- Posted by "Braden, Flash" <cbraden at VISA.COM> Nov 09, 1998
- 462 views
Does anybody have a code snippet that will download HTML pages? Or their headers? tks, -Flash->
2. Re: WinsockStuf
- Posted by Daniel Berstein <daber at PAIR.COM> Nov 09, 1998
- 458 views
- Last edited Nov 10, 1998
>Does anybody have a code snippet that will >download HTML pages? Or their headers? Do you mean an HTTP download? An FTP upload/download library is already available. You can find it at http://www27.pair.com/daber/architek --> download section. The file is EuFTP. It's a simple (very simple) FTP client, the include file (ftp.e) contains the FTP functions. All the FTP functions are implemented on WININET.DLL (comes with Explorer 3.0+ and Win98, maybe somewhere else too?). This DLL also has support for GOPHER and HTTP. If you're on a hurry you can go the Microsoft's Workshop page and look for wininet documentation. The whole API is documented there. Use ftp.e as your starting point of how to code the Euphoria interface. NOTICE: Common Windows API interface mistake: Almost all API functions end with 'A' or 'EX', they stand for 'Ansi' and 'Extended'. If you can't link a function, i.e. MyAPIFunc, try MyAPIFuncA and the like. If you have time, you can wait till I got spare time to do the thing for you. Don't ask when... somewhere between now and Microsoft's bankrupt ;) Regards, Daniel Berstein daber at pair.com
3. Re: WinsockStuf
- Posted by "Braden, Flash" <cbraden at VISA.COM> Nov 09, 1998
- 459 views
Yes, I have a WEB site with more than a thousand links arranged into various categories. I wanted to write a utility that would check each URL and then update my database with the return code from the header. I would use this to cull dead links from the lists. I have been trying to use various other folks packages to do it, but they either cost more than I can afford or they do ALMOST what I need. My first examination of Wininet left me thinking it would work for the whole HTML document, but not for the Header only. I was hoping I could just go for headers to cut down on wasted bandwidth and time. HTTP download is what I need. tks, -Flash-> > ---------- > From: Daniel Berstein[SMTP:daber at PAIR.COM] > Sent: Monday, November 09, 1998 5:07 PM > To: EUPHORIA at LISTSERV.MUOHIO.EDU > Subject: Re: WinsockStuf > > >Does anybody have a code snippet that will > >download HTML pages? Or their headers? > > > Do you mean an HTTP download? > > An FTP upload/download library is already available. You > can find it at http://www27.pair.com/daber/architek --> download > section. The file is EuFTP. It's a simple (very simple) FTP client, > the include file (ftp.e) contains the FTP functions. > > All the FTP functions are implemented on WININET.DLL (comes > with Explorer 3.0+ and Win98, maybe somewhere else too?). > This DLL also has support for GOPHER and HTTP. > > If you're on a hurry you can go the Microsoft's Workshop page and > look for wininet documentation. The whole API is documented there. > Use ftp.e as your starting point of how to code the Euphoria > interface. > > NOTICE: Common Windows API interface mistake: Almost all API > functions end with 'A' or 'EX', they stand for 'Ansi' and 'Extended'. > If you can't link a function, i.e. MyAPIFunc, try MyAPIFuncA and the like. > > If you have time, you can wait till I got spare time to do the thing for > you. Don't ask when... somewhere between now and Microsoft's > bankrupt ;) > > Regards, > Daniel Berstein > daber at pair.com >
4. Re: WinsockStuf
- Posted by Daniel Berstein <daber at PAIR.COM> Nov 09, 1998
- 439 views
- Last edited Nov 10, 1998
I forgot to post the URL to MS Workshop is: http://www.microsoft.com/workshop The direct link to the Wininet API reference is at: [OFF TOPIC] Does anyone has experience with JDBC or accesing Databases with CGI? Reagards, Daniel Berstein daber at pair.com
5. Re: WinsockStuf
- Posted by "Braden, Flash" <cbraden at VISA.COM> Nov 10, 1998
- 465 views
Maybe I am going blind in my grumpy old age. I went to the suggested site and could not find EuFTP in the download section. Do you know where else it might be posted? tks, -Flash-> > ---------- > From: Daniel Berstein[SMTP:daber at PAIR.COM] > Sent: Monday, November 09, 1998 5:07 PM > To: EUPHORIA at LISTSERV.MUOHIO.EDU > Subject: Re: WinsockStuf > > >Does anybody have a code snippet that will > >download HTML pages? Or their headers? > > > Do you mean an HTTP download? > > An FTP upload/download library is already available. You > can find it at http://www27.pair.com/daber/architek --> download > section. The file is EuFTP. It's a simple (very simple) FTP client, > the include file (ftp.e) contains the FTP functions. > [snip]
6. Re: WinsockStuf
- Posted by Daniel Berstein <daber at PAIR.COM> Nov 10, 1998
- 443 views
- Last edited Nov 11, 1998
>Maybe I am going blind in my grumpy old age. I >went to the suggested site and could not find >EuFTP in the download section. Do you know >where else it might be posted? > >tks, >-Flash-> Oops! Mea Culpa :) Ok. In the mean time you can go to RDS's site --> The Archive --> Win32 File --> File Transfer Protcol (by me!) Regards, Daniel Berstein daber at pair.com
7. Re: WinsockStuf
- Posted by "Braden, Flash" <cbraden at VISA.COM> Nov 10, 1998
- 442 views
thanks-a-bunch, -Flash-> > ---------- > From: Daniel Berstein[SMTP:daber at PAIR.COM] > Sent: Tuesday, November 10, 1998 5:29 PM > To: EUPHORIA at LISTSERV.MUOHIO.EDU > Subject: Re: WinsockStuf > > >Maybe I am going blind in my grumpy old age. I > >went to the suggested site and could not find > >EuFTP in the download section. Do you know > >where else it might be posted? > > > >tks, > >-Flash-> > > > Oops! Mea Culpa :) > > Ok. In the mean time you can go to RDS's site --> The Archive > --> Win32 File --> File Transfer Protcol (by me!) > > Regards, > Daniel Berstein > daber at pair.com >