Make sure you test it in ALL required browsers.

I remember checking if client was Netscape or IE, Win or Mac, and setting
the CFHEADER differently to account for idiosyncrasies of each.  I don't
have that code at my fingertips, but can probably find it if noone else has
anything similar.


On 7/16/02 2:39 PM, "Shawn McKee" <[EMAIL PROTECTED]> wrote:

> That works like a champ!
> 
> Any idea why it falls out of the loop?
> 
> Shawn
> 
> -----Original Message-----
> From: Trishan Singh [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 4:23 PM
> To: CF-Talk
> Subject: Re: Download a list of files to user
> 
> 
> <CFHEADER NAME="Content-Disposition"
> VALUE="filename=#TheFileNameYouWantToShowUp#">
> right before the cfcontent tag.....
> 
> That help any?
> 
> -----------------------------
> Trishan Singh
> Paracom Technologies
> 316-293-2900
> 
> 
> ----- Original Message -----
> From: "Shawn McKee" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, July 16, 2002 4:06 PM
> Subject: RE: Download a list of files to user
> 
> 
>> I'm fine with that but how do I get cfcontent to maintain the file name?
>> 
>> Shawn
>> 
>> -----Original Message-----
>> From: Andre Turrettini [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, July 16, 2002 3:57 PM
>> To: CF-Talk
>> Subject: RE: Download a list of files to user
>> 
>> 
>> Why don't you make him a zip file on the server and cfcontent that?  Lower
>> bandwidth required.  One cfcontent versus dozens(albeit a bigger one).  I
>> think theres some free zip utilities on the devcenter at macromedia.com.
>> 
>> DRE
>> 
>> -----Original Message-----
>> From: Shawn McKee [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, July 16, 2002 2:53 PM
>> To: CF-Talk
>> Subject: Download a list of files to user
>> 
>> 
>> I have a page where a user selects a list of reports to download.  I would
>> like to kick of a series of download windows to send these to the user.  I
>> tried:
>> 
>>    <cfquery datasource="#dsn#" name="rprtPath">
>>       SELECT
>>          pub_report_path
>>       FROM
>>          pub_report_detail
>>       WHERE
>>          pub_report_id IN (#attributes.cndRprt#)
>>    </cfquery>
>> 
>> <cftry>
>>    <cfloop query="rprtPath">
>>       <cfcontent type="application/unknown" file="#pub_report_path#"
>> deletefile="No">
>>    </cfloop>
>> <cfcatch type="Any">
>>    <cfdump var="#cfcatch#">
>> </cfcatch>
>> </cftry>
>> 
>> But this has two problems.  It only gives one file from the list and it is
>> named with the name of the .CFM template.  I need the entire list
> downloaded
>> and I need to maintain the names.
>> 
>> Any help appreciated.
>> 
>> Shawn McKee
>> Manager, Web Development
>> NewsStand, Inc.
>> 8620 Burnet Rd., Suite 100
>> Austin, TX 78757 USA
>> 512-334-5100
>> Read newspapers and magazines from around the world in a whole new way.
>> NewsStand delivers them to your PC without paper and without delay!
>> Try: http://www.newsstand.com?NSEMC=EMNSI000001
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to