Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

button as download link ? 3

Status
Not open for further replies.

sawfish

Technical User
Apr 21, 2002
72
GB
what code do I need to make a button in flash link to a word document on my server, that then downloads the file to the clients computer? Basically a button download link!
 
Since Bill still hasn't learned the trick to post some code (or he doesn't care!), here's what it should really look like:

Code:
getURL("[URL unfurl="true"]http://www.mysite.com/wordfile.zip");[/URL]

Regards,

cubalibre2.gif
 
thanks guys, its almost working, but when I try to download, it says that its actually an HTML file, and 'do I want to open my browser'. Doesn't seem to recognise the zipfile.
 
dont know whats wrong but if you have php i can make you up a server script that will force a download of the .doc file.
 
Not to mention changing the URL to an FTP connection, that is if your FTP server is properly secured...
Most borwsers upon ask if you want to "open" or "save" anytime you click on a link to D/L anything... If you use FTP protocal (and an FTP server) then you force it to skip this, and it should just ask you where to save it (depending on the browser).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top