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
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists