By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,760 Members | 969 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,760 IT Pros & Developers. It's quick & easy.

WebClient.DownloadFile & Error 403

P: n/a
Hi all,

I have a problem with downloading files by using

WebClient wc = new WebClient();
wc.DownloadFile("", "some_file.gif");

This returns the error 403 from the server but I can access this files
from Internet Explorer without any problems. To further complicate
matters this error shows only up at work but works on my home PC.

I even wrote a small JAVA-app which can download all the files without
a problem at work. So what's so special about the WebClient
implementation ? How can I predict its behaviour ? and above all, why
do I get this 403 error.


Jul 22 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.