What's wrong with the below?
<cfheader name="Content-Disposition" value="attachment;
filename=myfile.zip">
<cfcontent type="application/zip"
file="d:\inetpub\wwwroot\thedirectory\myfile.zip ">
The file is there and the path is correct. I can download the file directly by
typing in http://mysite.com/thedirectory/myfile.zip in the browser, but
whenever I try to use CFHEADER to serve the files it just spins (even though
it's in a CFTRY it does not thrown an error). When I abort (exit the spinning
page) I get a diagnostic dump:
Java heap space null
The error occurred on line -1.
What the heck? I I doing something wrong?
Robert Harrison
Director of Interactive Services
Austin & Williams
Advertising I Branding I Digital I Direct
125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788
T 631.231.6600 X 119 F 631.434.7022
http://www.austin-williams.com
Blog: http://www.austin-williams.com/blog
Twitter: http://www.twitter.com/austin_wi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351713
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm