I am trying to retrieve file objects based on criteria regarding the path of the file. I know cloud files don't work on a directory structure but never-the-less that is how I need to approach the problem. For example:
I have a series of top level properties with unique id's and then various nested structures containing files. i.e.
In directory terms I want to delete XXXXX and the contents. Is this possible. Or do I need to seek out each individual item which is going to be quite intensive.
Any thoughts as I can only see a way to get an already known file object. I need to be able delete a number of files in one pass.
I am trying to retrieve file objects based on criteria regarding the path of the file. I know cloud files don't work on a directory structure but never-the-less that is how I need to approach the problem. For example:
I have a series of top level properties with unique id's and then various nested structures containing files. i.e.
XXXX0/images/image1.jpg XXXX0/images/image2.jpg XXXX0/documents/document1.pdf XXXX0/documents/document2.pdf
XXXX1/images/image1.jpg XXXX1/images/image2.jpg XXXX1/documents/document1.pdf XXXX1/documents/document2.pdf
In directory terms I want to delete XXXXX and the contents. Is this possible. Or do I need to seek out each individual item which is going to be quite intensive.
Any thoughts as I can only see a way to get an already known file object. I need to be able delete a number of files in one pass.