Downloading text file

How do I set up a page that lists text files for download (similar to .zip files) to the client's computer - not displayed on the browser.  It seems to automagically work for .zip files, but not for general non-html files.
lgroveAsked:
Who is Participating?
 
jbirkCommented:
In this situation, I think the best solution is to either state next to your text files for download that the user should right click on the link and choose 'save link as...' to download it.
If you don't want to do that the best way is to change it's format, namely zip it up into a zip file, then it will automatically get downloaded and the user can then unzip the text file out of it.
-Josh
0
 
ruCommented:
LOOK I THINK U WRITE <A HREF="WRITE THE NAME OF THE FILE TO DOWNLOAD">WRITE WHAT U WANT IT TO SAY HERE IN BLUE</A>
0
 
lgroveAuthor Commented:
I've already tried that.  But what I get is the file displayed in the browser.  I want the file to be treated like a .zip file and prompt the user to where they want to save it.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
aburrCommented:
use  HREF="ftp://xxx.ext">
0
 
aburrCommented:
you can also ask your viewer to go to their file menu and click "save as file"
0
 
lgroveAuthor Commented:
I get "User anonymous unknown."  Now what?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.