Hi,
I'm trying to download a file with c#, using the method WebClient.Downl oadFile. However, my url is of the type: http://somewebsite.com/download.htm?ID =14.
DownloadFile works fine, and the file is downloaded. However, I have to provide a file name myself. I want the file on my computer to have the same name it has on the server.
How can I do that?
Thanks
I'm trying to download a file with c#, using the method WebClient.Downl oadFile. However, my url is of the type: http://somewebsite.com/download.htm?ID =14.
DownloadFile works fine, and the file is downloaded. However, I have to provide a file name myself. I want the file on my computer to have the same name it has on the server.
How can I do that?
Thanks
Comment