We have our Android app built and the .apk file is on our CF7 server.
I'm using cfheader and cfcontent to get the file to download via a link.
But install on my phone fails. The app comes in as <UNKNOWN> and throws an 
error about unknown file size.

When I click the link in a desktop browser, I get the correct file downloaded 
as expected.

Has anyone done this yet? What am I missing?

Code:

cfheader name="Content-Disposition" value="attachment; filename=myNewApp.apk"
cfcontent file="#expandPath('pathToFile/file.apk')#"

tia,
Glenn 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:348558
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to