Re: Link Validation



How/Where do you set the Method property to "HEAD"
some details please, thank you,


"Rad [Visual C# MVP]" <rad@xxxxxxxxxx> wrote in message
news:udaeh3pgv10g6jh0f8m0o70nm414n490k4@xxxxxxxxxx
On Tue, 16 Oct 2007 08:41:56 -0500, "Darren" <D arren @pclegends.com>
wrote:

Is there a way to determine a link to a file is valid (exists)?

I have found examples using httprequest, but I don't want to retrieve the
entire file, just verify it's existence.
These examples work very well when a link does not exist. But not so much
on
valid ones. The files these links point to can be quite large in some
cases
making such functions useless if the entire thing must be retrieved.

Thanks


Try setting the Method property to "HEAD" ... the web server will be
instructed not to send the entire body

--
http://bytes.thinkersroom.com


.



Relevant Pages

  • Re: How: Persistant record order
    ... you hit the nail on the head. ... You could minimize the extra work load by adding a date_inserted (or maybe ... To retrieve the rows in the order inserted, ...
    (microsoft.public.sqlserver.mseq)
  • Re: Raccoons in my chimney!
    ... :) In another 4 weeks or so, Momma will retrieve the li'l ones ... :) and head off to the woods. ... Then you can cap the unused flues. ...
    (alt.home.repair)
  • How to retrieve the full path of "Documents and Settingsusername.
    ... How could I use VBScript to retrieve the full path of "Documents and ... <HTML> ... <HEAD> ...
    (microsoft.public.scripting.vbscript)
  • Help creating macro
    ... macro but I'm over my head - help! ... worksheets that it needs to look in) and retrieve the ...
    (microsoft.public.excel.misc)