Download file from server to client
-
Hello, I would like the client to be able to click a button and download a particular file off the server. Does anyone know how to do this? I was unable to find any good examples/documentation. Thanks, RC
-
Hello, I would like the client to be able to click a button and download a particular file off the server. Does anyone know how to do this? I was unable to find any good examples/documentation. Thanks, RC
Just put the file you want to download somewhere in your application root folder, then put up a link that points to it. For example:
<a href="/downloads/myfile.doc">Download</a>
would prompt out a message for the user to either open or download and save the file. HTH
"if you vote me down, I shall become more powerful than you can possibly imagine" - Michael P. Butler. Support Bone It's a weird Life
-
Hello, I would like the client to be able to click a button and download a particular file off the server. Does anyone know how to do this? I was unable to find any good examples/documentation. Thanks, RC
hello i saw your mail and i came to know you have a problem to down load files on client.its the better way that you down load your files and then share them on you client side but if you want to download files from client side then use "flashget"for downloading somthing directly. ok mail me about it. on my hotmail addess. deadman4u_42@hotmail.com. your friend. nader ashfaq rajput
-
Just put the file you want to download somewhere in your application root folder, then put up a link that points to it. For example:
<a href="/downloads/myfile.doc">Download</a>
would prompt out a message for the user to either open or download and save the file. HTH
"if you vote me down, I shall become more powerful than you can possibly imagine" - Michael P. Butler. Support Bone It's a weird Life
I put the file in a temp folder at the root level of the application. Code as follows: Download Instead of downloading the file, it just opened and displayed it in the browser. RC
-
Hello, I would like the client to be able to click a button and download a particular file off the server. Does anyone know how to do this? I was unable to find any good examples/documentation. Thanks, RC
Response.Redirect("FilePath.doc");
-
I put the file in a temp folder at the root level of the application. Code as follows: Download Instead of downloading the file, it just opened and displayed it in the browser. RC
Yeah,that happens when the file can be opened by the client machine. You can still save it though, by right-clicking on the link and select "save as"
"if you vote me down, I shall become more powerful than you can possibly imagine" - Michael P. Butler. Support Bone It's a weird Life