Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Kimmers1125 #1
Downloading files
My application allows users to download and ASCII file and save it to their
hard drive. This works fine except that it appears to add blank lines at the
end of the file. This is the code used:
<CFHEADER NAME="Content-Disposition" VALUE="Inline;filename=#FileName#">
<CFCONTENT TYPE="application/plain">
Any thoughts on why it would add blank lines?
Thanks.
Kimmers1125 Guest
-
Downloading Files Using CF
I am currently trying to download a file that has been uploaded to a server using CF. I log in to the site which creates a validating cookie use the... -
Up and downloading files
Is it possible to up and download files between client and a server other than the server running the CFscript? Tom -
Downloading Files with readfile
I setup a download using the following: header("Content-type: application/force-download"); header("Content-Transfer-Encoding: Binary");... -
Downloading Publisher FIles
Is there a free MS Publisher previewer that I can download? I am a webmaster for my church, and the church secretary sends me a copy of the Church... -
downloading gz compressed files?
i have a short php script that creates a gz compressed file, but... when i try to download it, internet explorer doesn't prompt me for a download... -
Suzan #2
Re: Downloading files
Make sure that all your code in single line <CFHEADER
NAME='Content-Disposition' VALUE='Inline;filename=#FileName#'><CFCONTENT
TYPE='application/plain'> no enter You can also make your link to be like this
getfile.cfm?id=5/filename.txt This will force the browser to show the save
as dialouge
Suzan Guest



Reply With Quote

