>>Trevor Austen wrote:
>>> <cfset variables.filelink = "">
>>> <cfif evaluate(variables.fileLink) neq "">
I do not think you need the evaluate, but if you name the file field
sequentially like this
<input type="file" name="fileLink1">...
<input type="file" name="fileLink2">...
<input type="file" name="fileLink3">...
Then you can access them simply using array notation
<cfloop from="1" to="#WhateverNumberOfFields#" index="i">
<cfif len(form["fileLink"& i])>
<cffile action="UPLOAD"
filefield="form.filelink#i#"
destination="...."
nameconflict="makeunique">
</cfif>
</cfloop>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301314
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4