Oops. Sorry. I read it in a hurry.

I would not use the file system for something like this. Anyway, upload 
separate creates up to 1296 subfolder per table.field. This number can be 
increased.

On Friday, 11 May 2012 18:33:22 UTC-5, Anthony wrote:
>
> 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
>
>

Reply via email to