Ok, the check is in the arguments scope of the function, so something
like...
<cfif StructKeyExists("ARGUMENTS", "photo#i#") AND
Trim(ARGUMENTS["photo#i#"]) NEQ "">
.... should do it.
Ade
-----Original Message-----
From: Jason Hunter [mailto:[EMAIL PROTECTED]
Sent: 20 October 2007 19:09
To: CF-Newbie
Subject: RE: Multiple File Upload
Sorry it was a variable I set. <cfset photofile = "Kind of as a work around
for the loop. Because I don't know how to put in the cfif statement to check
photo1, photo2, photo3, photo4 individually and run the upload if had a file
to upload.
-----Original Message-----
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 20, 2007 10:41 AM
To: CF-Newbie
Subject: RE: Multiple File Upload
Where does photofile come from in this line?
<cffile action="upload" filefield="#photofile#"
destination="\classifieds\classifiedsphotos" nameconflict="makeunique" />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies
around the world in government. Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us
Archive:
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3116
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15