Check if File exists over HTTP
Posted on 2006-07-17
I need to find whether a file exists in an Http URL or not.
THe code I am currently using is
private bool ReadGraph(string URL)
if (Web.OpenRead(URL).CanRead == true)
This does not work consistently.
Is there a any other approach or am I missing something here.
Any help on this regard is highly appreciated.
Thanks and Regards,