On Friday, May 11, 2012 7:25:21 PM UTC-4, Massimo Di Pierro wrote: > > yes. > > Field('name','upload',uploadseparate=True) >
He's aware of that but seems to think that one level of sub-folders won't be enough (he's expecting millions of files, so still more than 1000 files per sub-folder, even with uploadseparate=True). I don't think web2py includes any out-of-the-box solution for generating deeper levels of sub-folders for uploaded files. Maybe subclass Field for that upload field and roll your own .store() and .retrieve() methods. Anthony