Jump to content

Recommended Posts

Posted

Hello,

 

Is there a way to have a link on a webpage that prompts you to download a file.

I have a word document that i want to make available for download. I would like it that when the user clicks on the link they are prompted to download the file.

Any idea, TCH family on how to do this. Or any other suggestions?

 

Thanks

Posted
Hello,

 

Is there a way to have a link on a webpage that prompts you to download a file.

I have a word document that i want to make available for download.  I would like it that when the user clicks on the link they are prompted to download the file.

Any idea, TCH family on how to do this. Or any other suggestions?

 

Thanks

 

If you put it in your public ftp and then create the link using ftp:// instead of http:// that will force the download. I'm assuming this work across browsers though, I don't know for sure.

 

Or, you could just have text that says 'use right click and save as...'

 

I there a particular reason you want to force a download rather than letting them click on the link (and open it if they can)?

  • 2 weeks later...
Posted

Hello evrybody,

 

just zip it up in to zip or rar ;)

 

basicaly any extention IE or any other browser does not know will promt for a download insted of opening it B)

Posted

I've used the "PHP Easy Download" from here http://www.ironclad.net/scripts/

 

Straight forward to use, what ever directory you set it to use it provides the 'save as' or 'run' dialoge prompt for files with the file extensions you set it to offer for downloads.

 

HTH, Tom

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...