RE: File download not working

2008-03-14 Thread Dave
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

2008-03-13 Thread James Holmes
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

2008-03-13 Thread Dave
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

2008-03-13 Thread Jochem van Dieten
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


Re: file download in cfm file

2007-02-14 Thread Claude Schneegans
 >>It works on my
local machine but won't work on the server(Windows 2003, with IIS 6)

Make sure your IIS is configurated to handle .pdf files.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269866
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 in cfm file

2007-02-14 Thread Ben Nadel
When you say it won't work on the server... Do you mean from an external
location? Or are you using "localhost" or something on the live server? 



..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Nathan Chen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 14, 2007 6:00 PM
To: CF-Talk
Subject: file download in cfm file

Hi, All:
 
I have a simple  in a cfm file. It works on my
local machine but won't work on the server(Windows 2003, with IIS 6). I
got this message that many of you probably have seen before.
 
==
Internet Explorer cannot download  from  Internet
Explorer was not able to open this Internet site. The requested site is
either unavailable or cannot be found. Please try again later.
==
 
I did check the file name and path and they are all correct. I even
placed it in html file and it works in html. Do I need to change some
setting to make it work?
 
 
Nathan Chen
 
 
 




~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269865
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 Manager

2006-03-29 Thread Alan Rother
I don't think you are going to be able to find a CF based soltuion for the
download manager.

I have seen some executable soultions for what you are proposing, in Java or
different flavors of C, but these programs need to be rrunning on the end
users computer for them to work. Since CF is a server side application you
can't control how the end users computer handles the download and stoarge of
the temp file that is created while the file is being downloaded.

Just my 2 cents

=]
--
Alan Rother
Macromedia Certified Advanced ColdFusion MX 7 Developer


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236417
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: file download bug with Netscape 7

2002-12-16 Thread Bryan Stevenson
Thanks Phil...that's going to help me for sure ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
- Original Message -
From: "Phil Cruz" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 4:05 PM
Subject: file download bug with Netscape 7


> --=_6494909==.ALT
> Content-Type: text/plain; charset="us-ascii"; format=flowed
>
> I just ran across a bug with NS7 where it appends the file ext of the
> template to the end of the filename to be downloaded.  So if you have a
> download.cfm template like
>
> 
> 
>
> and the filename is "installer.exe" it will appear in the save as dialogue
> as "installer.exe.cfm"
>
> This is a bug in NS 7 which is documented at
>
> http://bugzilla.mozilla.org/show_bug.cgi?id=172693
>
> The fix is explained there which is to append a f_ext parameter to the url
> so the url will be like
>
>
>
http://example.com/dow
nload.cfm/test?f_ext=/test.doc
>
> Hope that helps someone,
> -Phil
> --=_6494909==.ALT
> Content-Type: text/html; charset="us-ascii"
>
> 
> 
> I just ran across a bug with NS7 where it appends the file ext of the
> template to the end of the filename to be downloaded.  So if you
> have a download.cfm template like
>  value="attachment;  filename=#filename#">
>  deletefile="no"> 
> and the filename is "installer.exe" it will appear in the save
> as dialogue as "installer.exe.cfm"
> This is a bug in NS 7 which is documented at 
> http://bugzilla.mozilla.org/show_bug.cgi?id=172693";
eudora="autourl">http://bugzilla.mozilla.org/show_bug.cgi?id=172693<
br>
> The fix is explained there which is to append a f_ext parameter to the
> url so the url will be like
> 
> http://example.com/download.php/test?f_ext=/test.doc";>http://example.c
om/download.cfm/test?f_ext=/test.doc
>
> Hope that helps someone,
> -Phil
> 
>
> --=_6494909==.ALT--
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: File download not prompting

2001-06-12 Thread Thomas Chiverton

>  
>  deletefile="No">

Welcome to the world of IE :-)
Seriously, this is the *worst* problem I've come across, and I have a
partial fix (check the archives), iin the mean time I'm trying to tidy it up
and write a tag for it.

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: File Download

2001-04-13 Thread W. Shannon Carr

Thank you for your help. I wasn't aware of the cfcontent tag but will be
sure to add a new snippet.

Thanks again,
Shannon


- Original Message -
From: "Tim Painter" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, April 13, 2001 10:57 AM
Subject: Re: File Download


> Create a link to a .cfm page that uses the cfcontent tag to download the
> file.
>
> e.g Click here to
> download the file
> (put the filename.ext after the link to the .cfm -- this will make the
> browser default to the actual filename as opposed to download.cfm)
>
> download.cfm:
> 
>
>
> - Original Message -
> From: "W. Shannon Carr" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, April 13, 2001 10:16 AM
> Subject: File Download
>
>
> > I am trying to give the user access to download files that are located
on
> a
> > different hard drive than the webserver directory. I have used
cfdirectory
> > in the past when files were located in the home web server directory.
The
> > cffile would list all files and the user can click on file name which is
a
> > link that will either open file in user's browser or prompt them to save
> > file to disk.
> >
> > My problem now is that the files are located on a different drive and
the
> > url link will not get me out of the home directory to get file. Plus the
> > file list needs to be dynamically generated so user can select from
list.
> >
> > I have tried a few custom tags but didn't have much luck. Any help would
> be
> > appreciated.
> >
> > Thanks,
> > Shannon
> >
> >
> >
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: File Download

2001-04-13 Thread Tony Schreiber

Or for an even neater URL...

Download

download.cfm



> Create a link to a .cfm page that uses the cfcontent tag to download the
> file.
> 
> e.g Click here to
> download the file
> (put the filename.ext after the link to the .cfm -- this will make the
> browser default to the actual filename as opposed to download.cfm)
> 
> download.cfm:
> 
> 
> 
> - Original Message -
> From: "W. Shannon Carr" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, April 13, 2001 10:16 AM
> Subject: File Download
> 
> 
> > I am trying to give the user access to download files that are located on
> a
> > different hard drive than the webserver directory. I have used cfdirectory
> > in the past when files were located in the home web server directory. The
> > cffile would list all files and the user can click on file name which is a
> > link that will either open file in user's browser or prompt them to save
> > file to disk.
> >
> > My problem now is that the files are located on a different drive and the
> > url link will not get me out of the home directory to get file. Plus the
> > file list needs to be dynamically generated so user can select from list.
> >
> > I have tried a few custom tags but didn't have much luck. Any help would
> be
> > appreciated.
> >
> > Thanks,
> > Shannon
> >
> >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: File Download

2001-04-13 Thread Tim Painter

Create a link to a .cfm page that uses the cfcontent tag to download the
file.

e.g Click here to
download the file
(put the filename.ext after the link to the .cfm -- this will make the
browser default to the actual filename as opposed to download.cfm)

download.cfm:



- Original Message -
From: "W. Shannon Carr" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, April 13, 2001 10:16 AM
Subject: File Download


> I am trying to give the user access to download files that are located on
a
> different hard drive than the webserver directory. I have used cfdirectory
> in the past when files were located in the home web server directory. The
> cffile would list all files and the user can click on file name which is a
> link that will either open file in user's browser or prompt them to save
> file to disk.
>
> My problem now is that the files are located on a different drive and the
> url link will not get me out of the home directory to get file. Plus the
> file list needs to be dynamically generated so user can select from list.
>
> I have tried a few custom tags but didn't have much luck. Any help would
be
> appreciated.
>
> Thanks,
> Shannon
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: File Download

2000-12-28 Thread Christopher Olive, CIO

well, if the url is http://blahblah.com/myfile.zip, the browser will ask the
user about saving/opening the file.  unless of course, it's IE, where if it
thinks it knows what kind of file it is, it will try to open it in the
native program.

chris olive, cio
cresco technologies
[EMAIL PROTECTED]
http://www.crescotech.com



-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 28, 2000 10:44 AM
To: CF-Talk
Subject: File Download


How do you get a download interface to come up?

Like when i goto a web site and buy software.  This interface pops up and
asks me where i want to save the file...

I have a feeling it is a really basic HTML or java answer.

Thanks!
~ Paid Sponsorship ~
Get Your Own Dedicated Win2K Server!  Instant Activation for $99/month w/Free 
Setup from SoloServer  PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support 
 Visit SoloServer, https://secure.irides.com/clientsetup.cfm.

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: File Download

2000-12-28 Thread Chad Gray

DUH!

I knew it was going to be a simple answer  need more coffee, more 
coffee!  :)

Thanks!

At 10:54 AM 12/28/00 -0500, you wrote:
>you're downloading a file that your browser doesn't recognize.  Just HREF an
>exe or zip file and see what happens.
>
>~Simon
>
> > Simon Horwith
> > Allaire Certified ColdFusion Instructor
> > Certified ColdFusion Developer
> > Fig Leaf Software
> > 1400 16th St NW, # 220
> > Washington DC 20036
> > 202.797.6570 (direct line)
> > www.figleaf.com
> >
>
>
>-Original Message-
>From: Chad Gray [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, December 28, 2000 10:44 AM
>To: CF-Talk
>Subject: File Download
>
>
>How do you get a download interface to come up?
>
>Like when i goto a web site and buy software.  This interface pops up and
>asks me where i want to save the file...
>
>I have a feeling it is a really basic HTML or java answer.
>
>Thanks!
>
~ Paid Sponsorship ~
Get Your Own Dedicated Win2K Server!  Instant Activation for $99/month w/Free 
Setup from SoloServer  PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support 
 Visit SoloServer, https://secure.irides.com/clientsetup.cfm.

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: File Download

2000-12-28 Thread Simon Horwith

you're downloading a file that your browser doesn't recognize.  Just HREF an
exe or zip file and see what happens.

~Simon

> Simon Horwith
> Allaire Certified ColdFusion Instructor
> Certified ColdFusion Developer
> Fig Leaf Software
> 1400 16th St NW, # 220
> Washington DC 20036
> 202.797.6570 (direct line)
> www.figleaf.com
> 


-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 28, 2000 10:44 AM
To: CF-Talk
Subject: File Download


How do you get a download interface to come up?

Like when i goto a web site and buy software.  This interface pops up and 
asks me where i want to save the file...

I have a feeling it is a really basic HTML or java answer.

Thanks!
~ Paid Sponsorship ~
Get Your Own Dedicated Win2K Server!  Instant Activation for $99/month w/Free 
Setup from SoloServer  PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support 
 Visit SoloServer, https://secure.irides.com/clientsetup.cfm.

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: File download

2000-09-26 Thread Christopher S Martin

Try thed cf_download tag from the alliare developer connection.
- Original Message -
From: "Vinuthomas" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, September 26, 2000 05:31
Subject: File download


> Hi.
>
>  How to download a file form the server ,is it possible by cfcontent tag.
> please help me..
>
> vinu
>
> 
> This e-mail has been sent to  you courtesy of OperaMail,  as a  free
service  from
> Opera  Software,  makers  of the award-winning Web Browser, Opera. Visit
us at
> http://www.opera.com/ or our portal at: http://www.myopera.com/ Your free
e-mail
> account is waiting at: http://www.operamail.com/
> 
>
> --

> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.