Force a file download from ASP Page

J

JP SIngh

Hi All

We have a page which we want to allow our users to download files.

Can someone point to peice of code that we can use to force the download as
opposed to opening the files in the browser.

Only one issue here the code need to work with UNC path like
\\myserver\files\ and not just c:\inetpub\wwwroot\files

I did have a look on internet but all of the code seems to be using local
path names but none with UNC path name.

Please help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top