J
John Spiegel
Hi all,
How does one allow a user to download a file WITH selecting where it should
be downloaded to on their machine? Also, when using the WebClient.Download
method, will the destination path written in Windows format (backslashes,
etc.) translate across client platforms? Is there a better way?
WebClient wc = new WebClient();
wc.DownloadFile(Server.MapPath(@"Downloads\MyFile.pdf"),
@"C:\Temp\TheirFile.pdf");
TIA,
John
How does one allow a user to download a file WITH selecting where it should
be downloaded to on their machine? Also, when using the WebClient.Download
method, will the destination path written in Windows format (backslashes,
etc.) translate across client platforms? Is there a better way?
WebClient wc = new WebClient();
wc.DownloadFile(Server.MapPath(@"Downloads\MyFile.pdf"),
@"C:\Temp\TheirFile.pdf");
TIA,
John