• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

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.
0
lgrove
Asked:
lgrove
1 Solution
 
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
 
aburrCommented:
use  HREF="ftp://xxx.ext">
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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
 
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now