ADO DOT NET Posted February 28, 2008 Posted February 28, 2008 Hi, I am getting a URI address from user, something like: http://www.domain.com/images/logo.jpg How should I quickly validate the user entry by checking it online to see if the file exists on the remote server or not? Thanks! Quote
Administrators PlausiblyDamp Posted February 28, 2008 Administrators Posted February 28, 2008 You could just try and download the file using something like the WebClient class - however this could be slow in practice. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
ADO DOT NET Posted February 28, 2008 Author Posted February 28, 2008 Yes, this was the only thing I was thinking of! But, I don't want to download it, it may take time, the file maybe large in size, I just want to check if it exists!:confused: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.