Re: Link Validation
- From: "IfThenElse" <sql_agentman@xxxxxxxxxxx>
- Date: Thu, 18 Oct 2007 09:11:22 -0700
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
.
- Follow-Ups:
- Re: Link Validation
- From: Rad [Visual C# MVP]
- Re: Link Validation
- References:
- Re: Link Validation
- From: Rad [Visual C# MVP]
- Re: Link Validation
- Prev by Date: Re: No option to add class file to web site in VS2005
- Next by Date: get cell value within gridview
- Previous by thread: Re: Link Validation
- Next by thread: Re: Link Validation
- Index(es):
Relevant Pages
|
|