Dave wrote:
> "...cannot download DownloadUserInfo.cfm...site is either unavailable or
> cannot be found...".

>  <cfset myFile = #fromdir# & "txtfiles.aes"> 
> <cfheader name="Content-Disposition"
> value="attachment:filename=txtfiles.aes">
> <cfheader name="Content-Description" value="User Info File">
> <cfcontent type="application/aes" file="#myFile#">

Why do you need the Content-Description? It is not a header from RFC 
2616. Your Content-Disposition has a colon instead of a semi-colon. I 
would add some error checking as well:

<cfset myFile = fromdir & "txtfiles.aes">
<cfif FileExists(myFile)>
   <cfheader name="Content-Disposition" value="attachment;
      filename=""txtfiles.aes""" />
   <cfcontent type="application/aes" file="#myFile#" />
<cfelse>
   <cfthrow message="File #myFile# not found" />
</cfif>

If that doesn't work use a packetsniffer to see what really gets send to 
the browser.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301211
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to