In your case, you probably want to delete files only <cfif qDiroctory.type IS "file" AND NOT listFind(fileNames, qDirectory.name)> <cffile action="delete" file="#imagesDirectory#\#i#\#qDirectory.name#"> ...
You don't want to delete directories and there was an extra .jpg in your CFFILE Pascal > -----Original Message----- > From: Donna French [mailto:[EMAIL PROTECTED] > Sent: 17 November 2004 20:36 > To: CF-Talk > Subject: Re: Help! Error on ValueList SOLVED > > Okay, thank you for your help. I have altered the code to include the > alias. Just looking at it without knowing it looked like an > unnecessary extra step. > > Now I have the following error and I'm not sure how to go about fixing > it. I want to have it skip the .. directory listing on the server, but > can't figure out how after several attempts. Please bare with me, I've > ordered CF books and plan to put them to good use! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184654 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

