it depends.
By default, a Field('something', 'upload') stores files in the uploads 
folder.

You can choose to store them on the db but it requires a few configurations 
more

Field('something', 'upload', uploadfield='otherfield'),
Field('otherfield', 'blob')

in that case, the contents will be stored in the database.

On Friday, October 3, 2014 11:10:35 PM UTC+2, Abraham SinaĆ­ Aguirre Rogel 
wrote:
>
> Hey there!
>
> I am starting with web2py development (and web development in general) and 
> I have a big doubt. First of all, excuse me for my English. 
>
> I made some research in the web2py book, but still isn't clear to me about 
> file attachments. I have a little app and users from the app may upload 
> some attachments when needed. The question is: Where are stored this files? 
> in my DB or in the web2py directory?.
>
> I appreciate your help.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to