[EMAIL PROTECTED] wrote:
Does MogileFS support folders?
What I want to do is group images from each user to their own specific
folders. Or, is this unnecessary with MogileFS? How do you prevent
duplicate file names in this case?
(Someone else has a better answer for this, but I couldn't find it
quickly in the archives...)
Check out the 'filespaths' plugin. I haven't used it personally, but
it's supposed to make "directory structures" easier to work with.
Mostly I just make the key look like a path, ie:
/user1/filename.blah
/user2/filename.blah
... and you can manage the collections in your application, or use the
'listkeys' feature. Lots of options, none too terrible.
-Dormando