You could use the HTTP Component that comes with either the Indy
(http://www.nevrona.com/indy/) or ICS (http://overbyte.alexid.fr/)
libraries.  Both provide properties or events that handle proxy (as well as
www) authentication.  Simply set up the required properties (such as proxy
info), request the url using a synchronous call, then check the HTTP
response code.

The MS XML Parser contains two HTTP COM components as well which are very
easy to use from Delphi i.e.
http://support.microsoft.com/support/kb/articles/Q299/5/66.asp?SD=MSDN&FR=0.
The basic IXMLHTTPRequest object will auto-detect the proxy settings from IE
(but doesnt always seem to work), while the ServerXMLHTTP object will need
to manually configured with he proxy settings but is a lot more stable.  


-----Original Message-----
From: C Fraser [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 10:19 AM
To: Multiple recipients of list delphi
Subject: [DUG]: URL Link Checker


Hi all,

I am trying to create a basic URL link checker... I have had some
limited success...

I can test the links on files in house and I would assume it would work
if I was connected via dialup. But we use a proxy server to access the
internet in the outside world. The proxy server requires me to logon.

In FrontPage when I check the links (if I haven't logged onto the proxy
yet) it pops up an error and then a logon dialog box.

I can't find out how to do this in Delphi... I have tried a few of the
internet API functions and done a scan on MSDN but haven't come up with
anything...

Just wondering if anyone has done this before or knows where I should
head.

Regards
Colin


######################################################################
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
######################################################################
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

This e-mail message has been scanned and cleared by MailMarshal 
http://www.gen-i.co.nz

This e-mail message has been scanned and cleared by MailMarshal 
http://www.gen-i.co.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to