|
DownLoad movie -- Aman Sharma --
I m using vb.net2003. I am making a site in which i have to give a link. On clicking this link a movie should be downloaded. Pls tell me how to do this? |
|
-- Sankalp --
I assume the movies will be stored on the same web server or maybe some machine in the web farm. You need to just provide the path to the file on the server and clicking on the link will download the file. If on the same web server, then you can use server.mappath to provide a link to the movie file being downloaded. Each file on a web server has a virtual path (the one which is entered in the browser) e.g http://www.aman.com/movies/ddlj.avi Server.Mappath takes in the virtual path and returns the physical path of the file on the server (say D:\Movies\DDLJ.avi) ~Sankalp |
|
-- Aman Sharma --
But it will show a dialog box showing open,save and cancel. i want that there should be only 2 options "Save and Cancel" . On 7/5/06, Sankalp I assume the movies will be stored on the same web server or maybe some machine in the web farm. You need to just provide the path to the file on the server and clicking on the link will download the file. If on the same web server, then you can use server.mappath to provide a link to the movie file being downloaded. Each file on a web server has a virtual path (the one which is entered in the browser) e.g http://www.aman.com/movies/ddlj.avi Server.Mappath takes in the virtual path and returns the physical path of the file on the server (say D:\Movies\DDLJ.avi) ~Sankalp > |