Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Are there bugs or something in the Webclient class?

Thread Tools

Are there bugs or something in the Webclient class?

Posts: n/a
Downloading this URL on my machine typically take a second or two when
using a web browser (e.g., Firefox):

Downloading the same URL with the following code takes a minute or more
on the same machine:

public void downloadFile()
string url =

string filename = @"testfile1.txt";
WebClient Client = new WebClient ();
Client.DownloadFile(url, filename);
return filename;

I'm absolutely confused why it just ain't workin' ...

Any thoughts?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I have something bugs Java 9 07-03-2007 09:05 PM
Bugs and Bugs...get rid of them Jason Computer Security 1 01-31-2006 10:47 PM
there are bugs in this code HOWTO: Upload Files with JSP satish Java 0 03-17-2005 10:21 PM
Still use 'ruby-bugs' for Ruby bugs? Josef 'Jupp' Schugt Ruby 2 11-04-2004 10:10 PM
If there were no browser bugs... e n | c k m a HTML 7 11-03-2003 02:46 PM