Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

Are there bugs or something in the Webclient class?

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

http://www.sec.gov/Archives/edgar/da...-98-000001.txt

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

public void downloadFile()
{
string url =
"http://www.sec.gov/Archives/edgar/data/1001540/0000201196-98-000001.txt";

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?

--BRent
 
Reply With Quote
 
 
 
Reply

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 alex.korsak@gmail.com 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



Advertisments