have the following code --
<cfloop list="#form.disciplineCode#" index="discode">
<cfoutput>
<cfhttp url=" timeout="30" method="POST">
<cfhttpparam name="discipCode" type="URL" value="#discode#">
</cfhttp>
<cffile action="WRITE" file="#GetDirectoryFromPath(GetCurrentTemplatePath())#testExcel#discode#.xls" output="#cfhttp.filecontent#" attributes="Normal" addnewline="Yes"></cffile>
<CFDUMP var="#cfhttp.FileContent#">
Open "testExcel#discode#.xls" and see the results <p>
</cfoutput>
</cfloop>
It's to populate 15 Excel files. The first file is created fine. From file2 to 15 all "connection failure".
Please help!!
<cfloop list="#form.disciplineCode#" index="discode">
<cfoutput>
<cfhttp url=" timeout="30" method="POST">
<cfhttpparam name="discipCode" type="URL" value="#discode#">
</cfhttp>
<cffile action="WRITE" file="#GetDirectoryFromPath(GetCurrentTemplatePath())#testExcel#discode#.xls" output="#cfhttp.filecontent#" attributes="Normal" addnewline="Yes"></cffile>
<CFDUMP var="#cfhttp.FileContent#">
Open "testExcel#discode#.xls" and see the results <p>
</cfoutput>
</cfloop>
It's to populate 15 Excel files. The first file is created fine. From file2 to 15 all "connection failure".
Please help!!