Joel Watson wrote:
> 
> Currently, the "expandpath" drops the images in the same folder as the form 
> file (uploadimage.cfm).  How would I modify the following to place the 
> uploaded files in the "images" folder?

> <cffile action="UPLOAD" filefield="Filedata" 
> destination="#expandpath(".")#\#url.id#" nameconflict="OVERWRITE">  

<cffile action="UPLOAD" filefield="Filedata" 
destination="#expandpath("./images/")#\#url.id#" nameconflict="OVERWRITE">

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273840
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to