Using hyperlink control for downloading

D

dave

Hi,

Is there a way to use a hyperlink control for downling a file from the
server to the client? Currently, it works if I run the web app from
the server. However, when I run the app from a client and right-click
the hyperlink, it shows a popup menu including 'Save Link As' but when
I select the 'Save link as' menu item nothing happens.

Thanks!
 
S

Steve C. Orr [MVP, MCSD]

It is certainly possible to make a link initiate a file download.
It sounds like you've got some buggy code. I suspect you've failed to turn
the file link into a URL and you are instead using a local path to the file.
The local path would work from the server but not from any clients, matching
the behavior you've described.

Here's more info on file uploads and downloads:
http://SteveOrr.net/articles/EasyUploads.aspx
 
D

dave

Thanks, Steve. That's exactly what I did, I created a local link but
not a UTL.

Appreciate the help!

Dave.
 

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

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,152
Latest member
LorettaGur
Top