Thanks to everyone for the input. Actually, I had tried the './images' before--as it turns out, I missed something in the action scripting that had the filefield pointing to an entirely different file that contained simply the '.'--DOH! A quick change on that file to your suggestions solved the problem brilliantly.
Thanks again to everyone, and thanks for the links. I will definitely check this out, as I can see that this will be a critical peice of knowledge to have as I move forward. Joel > I am attempting to modify a flash form that I downloaded off of > ASFusion. Currently, my upload file (uploadimage.cfm) is in a folder > called "upload-image" which is one level off the root. I want to be > able to upload the images to a folder called "images" within the > upload-image folder. Visually, it looks like this: > > root (dir) > upload (dir) > uploadimage.cfm > images (dir) > > 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? Also, I have not had > any experience thus far (being pretty new to CF) with "expandpath"--if > someone could make a short note of explanation, I would appreciate > that also! > > <cffile action="UPLOAD" filefield="Filedata" > destination="#expandpath(".")#\#url.id#" nameconflict="OVERWRITE"> > > > Thanks! > > Joel </cfif> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273858 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4