Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Download a file tag
Message
From
23/05/2002 15:58:40
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Download a file tag
Miscellaneous
Thread ID:
00660743
Message ID:
00660743
Views:
52
I normally use the following tag to create a hyperlink which will initiate the downloading of a file.

This works if the file I want the user to download is an EXE. But if the file is a JPG or GIF, the tag displays the image to the user instead of initiating the download.

I know that the user can right click an image and download it, but how can I get any image or file to download instead of viewing?
***This brings up the save as dialog.
<a href='/temp/myexe.exe'>Click here to download</a>

***This displays the image.
<a href='/temp/myimage.jpg'>Click here to download</a>
Thanks,

Jerryt
Next
Reply
Map
View

Click here to load this message in the networking platform