What about using Server.MapPath to try and locate a physical directory
for the relative URL? This will give you back a physical path which
you can check for existence with System.IO.Directory.Exists
--
Scott
http://www.OdeToCode.com/blogs/scott/
On 7 Jun 2005 00:04:09 -0700,
le******@hotmail.com wrote:
Hi,
I need to find a way to check if a relative url exists on the server. I
cannot use WebRequest.Create method because it needs a complete URI.
Any suggestion?
Thanks in advance
Francesco