4
Reply

Upload/Download files from File Server using ASP.NET 2.0

Arun A

Arun A

Nov 4 2009 2:19 PM
5.9k
Hi, I would like to create a web page that allows user to upload a file to the file server(mapped to path \\FileServerName\Folder\). On uploading, the file should be displayed as a link on web page. When user clicks on the link he should be able to download or view the uploaded file. Now I am able to write the file to another server location but when i try to download the same file by clicking the hyper link thats created, nothing happens even though the path to network file is correctly set in hyperlink. I have set the impersonation properties n all so asp.net can access files on file server. Your help will be greatly appreciated Thanks in advance Arun

Answers (4)