L
Leon Habinsky
Hi guys,
I need to download a file over the Internet and I use the HttpWebRequest
class to accomplish this task. My problem is that, I need to know if the
file exists before issuing the GetResponse() call , because it throws
WebException. I can of course handle the exception but it's not the best way
for me to handle the logic of the my program. Is there any other ways to do
it?
Thanks in advance.
Leon.
I need to download a file over the Internet and I use the HttpWebRequest
class to accomplish this task. My problem is that, I need to know if the
file exists before issuing the GetResponse() call , because it throws
WebException. I can of course handle the exception but it's not the best way
for me to handle the logic of the my program. Is there any other ways to do
it?
Thanks in advance.
Leon.