cfdirectory
Below code is to download files from a directory. But problem is , OPEN/SAVE dialog box appears only for 1st file. Once that file is saved, it is not getting next file to download..
Can you help me?
<CFDIRECTORY NAME="myfiles" DIRECTORY="C:\temp\" >
<cfoutput query="myfiles">
<cfheader name="Content-Disposition" value="attachment; filename=#myfiles.Name#">
<cfcontent type="application/octet-stream" file="C:\temp\#myfiles.Name#">
</cfoutput>
