If you have SQLField('doc','upload') than doc goes in the uploads
folder and the name (renamed) in the field.

If you have SQLField('doc','upload',uploadfield='doc_data') and
SQLField('doc_data','blob',default='') then the uploaded file goes in
the database.

Massimo

On Nov 4, 2:41 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
> Also, students will need to upload a text or word doc for extra
> information for their scholarship application.  I noticed that web2py
> has some file upload pieces.  Does the data go in to the database or
> on to the file system?  Do I put a pointer in the db to the filename
> if it is on the file system?
>
> thx,
>
> -wj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to