Are there bugs or something in the Webclient class?

Discussion in 'ASP .Net' started by Brent, Oct 26, 2005.

  1. Brent

    Brent Guest

    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/data/1001540/0000201196-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
    Brent, Oct 26, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. satish
    Replies:
    0
    Views:
    639
    satish
    Mar 17, 2005
  2. e n | c k m a

    If there were no browser bugs...

    e n | c k m a, Nov 3, 2003, in forum: HTML
    Replies:
    7
    Views:
    404
    Chris Morris
    Nov 3, 2003
  3. Replies:
    9
    Views:
    313
    Roedy Green
    Jul 3, 2007
  4. Josef 'Jupp' Schugt

    Still use 'ruby-bugs' for Ruby bugs?

    Josef 'Jupp' Schugt, Nov 4, 2004, in forum: Ruby
    Replies:
    2
    Views:
    156
    Tom Copeland
    Nov 4, 2004
  5. Frank Church
    Replies:
    4
    Views:
    137
    Frank Church
    Jul 22, 2007
Loading...

Share This Page