RE: File download not working
That did it. Wasn't even thinking about that. I had it selected not to save encrypted files to disk and the file I was downloading was encrypted. It's working nowthanks much. > -Original Message- > From: James Holmes [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2008 6:39 PM > To: CF-Talk > Subject: Re: File download not working > > Did you recently turn off caching in IE, or do you prevent > caching in the page higher up (with no-cache headers etc)? > > On Fri, Mar 14, 2008 at 6:01 AM, Dave > <[EMAIL PROTECTED]> wrote: > > I'd seen the content-description in a few examples figured > I'd give it > > a try. I've also see the attachment formatted with colon and > > semi-colon as well as simply attachment="filename". I > started with a > > semi-colon and no content-description with the same end. It is > > working under firefox, just not IE7. > > > -- > mxAjax / CFAjax docs and other useful articles: > http://www.bifrost.com.au/blog/ > > ~| 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:301288 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: File download not working
Did you recently turn off caching in IE, or do you prevent caching in the page higher up (with no-cache headers etc)? On Fri, Mar 14, 2008 at 6:01 AM, Dave <[EMAIL PROTECTED]> wrote: > I'd seen the content-description in a few examples figured I'd give it a > try. I've also see the attachment formatted with colon and semi-colon as > well as simply attachment="filename". I started with a semi-colon and no > content-description with the same end. It is working under firefox, just > not IE7. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| 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:301223 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: File download not working
I'd seen the content-description in a few examples figured I'd give it a try. I've also see the attachment formatted with colon and semi-colon as well as simply attachment="filename". I started with a semi-colon and no content-description with the same end. It is working under firefox, just not IE7. > -Original Message- > From: Jochem van Dieten [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2008 3:43 PM > To: CF-Talk > Subject: Re: File download not working > > Dave wrote: > > "...cannot download DownloadUserInfo.cfm...site is either > unavailable > > or cannot be found...". > > >> name="Content-Disposition" > > value="attachment:filename=txtfiles.aes"> > > > > > > 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: > > > > > > > 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:301216 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: File download not working
Dave wrote: > "...cannot download DownloadUserInfo.cfm...site is either unavailable or > cannot be found...". > > value="attachment:filename=txtfiles.aes"> > > 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: 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
File download not working
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: 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