Discussion
Is there a means of checking that a file on an external website is still there? e.g. could I write something to whizz theough www.OilyPages.com checking for dead links?
PetrolTed said:
It's not a design time check I'm after. I need to check live links that are in a database.
Yes. Get out a copy of VB. Load your link string from the database (or parse it out of the page text or whatever) then use the Microsoft Internet Control (MSINET.OCX) to open the page...
strRet = Inet.OpenURL szURL
You can then parse strRet for "404" ...
I think that should do it...
I am currently writing a Performance Testing piece of software that "pretends" to load a page thousands of times..
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff