yes.

Field('name','upload',uploadseparate=True)

Mind that you have to use this from the beginning when there is nothing in 
uploads, else you will not be able to download previously uploaded files.

On Friday, 11 May 2012 17:19:07 UTC-5, sebastian wrote:
>
> Hi All,
>
> I need to sore a lot of file... up to few millions.
> Just wondering if that can be done with web2py out of the box without the 
> need of adding extra code for storing them in a sub folders tree 
> structure....  I've read that web2py can organize the files uploaded in 
> folders. I've created a simple file upload app and it looks like it creates 
> only one level of subfolder. Something like uploads/tablename/fieldname/xx/ 
> where xx seams been the first two characters of the file uuid. As the 
> filesystem starts to get slow with more than 1k files per folder, that 
> means that after 1k x 1k = 1M files the system will get slow...
>
> Am I correct ? is it possible to configure web2py to use more than one 
> level (per table/field) ?
>
> thanks ?
>
> -- 
> Sebastian E. Ovide
>
>
>
>
>  

Reply via email to