Folders and duplicate file names
dormando at rydia.net
Sat Sep 8 07:43:00 UTC 2007
drpr0ctologist at gmail.com 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:
... and you can manage the collections in your application, or use the
'listkeys' feature. Lots of options, none too terrible.
More information about the mogilefs