macromedia.coldfusion.getting_started
[Top] [All Lists]

cfdirectory

Subject: cfdirectory
From: "Matthew"
Date: Wed, 25 Mar 2009 12:28:22 +0000 UTC
Newsgroups: macromedia.coldfusion.getting_started

Hopefully this will be easy...running on Windows Server 2003, Apache, CF8.

 I tell it to delete a folder inside my "boxes" directory, it also deletes the 
"boxes" directory also and everything in it.

 <cfdirectory 
directory="e:\Apache2.2\htdocs\sites\smart\dropbox\boxes\#deletedrop.drop_folder
_name#" action="delete" recurse="yes">

 #deletedrop.drop_folder_name# is coming out as 21643-1(A)-jhkhj, so I know 
that its getting the correct variable.

 Example: I have a folder inside the directory "boxes" directory called 
"21643-1(A)-jhkhj" that I want to delete and everything inside it. The above 
code is deleting all directories inside the boxes directory including itself.

 Thanks for any help.

 Matthew


<Prev in Thread] Current Thread [Next in Thread>