Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

File download in .NET

Has anyone tried this before. I am looking for some .NET code where when you download file usuallua  wndow pops up asking you teh location wher you want to download. but in my situation I want to download teh file to a specific location rather than teh window popping up. Has any doen this before. any help will be greatly apprecaited. TIA

Friday, April 29, 2005

There are some security issues if you're talking about a web client downloading a file automatically.

If you're talking about a windows client and you want to fetch a file through an HTTP / HTTPS request, you can use the System.Net.WebClient object.

Code example:
    System.Net.WebClient wc = new System.Net.WebClient();
    wc.DownloadFile(URL, Filename);

Friday, April 29, 2005

Hey dumbass,

At least make a partial attempt to type a readable question.

Saturday, April 30, 2005

Here is a link to what you need:


Saturday, April 30, 2005


Monday, May 9, 2005


I never thought there could be site named

interesting... my imaginations are going wild.

Friday, May 27, 2005

*  Recent Topics

*  Fog Creek Home