I'm trying to enable a user to download a user information file.  The file
is generated on a different server and is supposed to be offered up to the
user to save.  I had it working before, but now it's not.  I have looked all
over the web and have seen and tried various adaptations to the code I
started with, but none of them seem to be working.  All I get is the message
"...cannot download DownloadUserInfo.cfm...site is either unavailable or
cannot be found...".  I know that the file is there and functioning and that
the cfm is being reached and is being processed.  It fails when I try to add
the content. Code below:
 
 <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#">

I've tried various adaptations including using cflocation to no avail.  The
path points to d:\synchdata\davetest\qatest\txtfiles.aes which is correct.
 
TIA
David Phelan
Senior CF Developer
LifePoint Informatics (Formerly Labtest.com)
(201) 447-9991 Ext. 318
[EMAIL PROTECTED]
 
 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:301198
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