sgreiner Posted April 15, 2004 Posted April 15, 2004 I am using the Quickbooks contrib. When a transaction is complete, this Quickbooks contrib creates a file - /temp/qb_sales.iif I want a link to this from with admin so that when I click this link, a download window appears. This way I can download it without launching FTP or Dreamweaver. I have modified my Admin page to include a page with the following text : click here to download The problem is when I click that link, the file is basically text, so it is launched within my web page - with no option to download. I have the Froogle contrib installed. This contrib has a page that has a downlaod link for the *.txt file that gets created. I am looking for something similar to this. Any thoughts? "There is no doubt about precisely when folks began racing each other in automobiles. It was the day they built the second automobile." - Richard Petty
larkost Posted April 15, 2004 Posted April 15, 2004 If you are using apache, you just have to add a "add handler" line to your configuration. I would probably put it in the .htaccess file, and use something like this: AddType application/x-quickbooks-interchange .iif But there is some evidence to belive that this should be: AddType application/vnd.shana.informed.interchange .iif Either way, this should prompt your browser to prompt you to tell it what to do with the file. Although IE has been known to simply ignore mime information... major bug in IE that has persisted way too long... Just another reason to use OmniWeb/Safari/the Mozilla family...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.