Harvey McArthur Posted May 22, 2008 Posted May 22, 2008 (edited) I'm trying out SuperContainer; looks good so far, but here's a question. I'm creating a database that will have multiple files uploaded for each record and the files for each record will be in a unique subdirectory. If I delete a record in the database I also weant to delete all the files linked to that record. Is there a way SuperContainer can delete a subdirectory and all its contents or do I have to delete each of the files one by one? I have a script that loops to get the path to each file to be deleted and sends SuperContainer the delete command with the path to the file, one by one. I'd rather be able to just send SuperContainer the path of the subdirectory and delete everything at once. Edited May 22, 2008 by Guest
Recommended Posts
This topic is 6028 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now