db.mytable.myfield.uploadfield=False

and after form.accepts you can access

 form.vars.myfield.file
 form.vars.myfield.filename



On Sep 9, 7:53 am, Richard <richar...@gmail.com> wrote:
> I am using SQLFORM.factory to upload some files. By default
> form.accepts() saves the file to disk. Is there a way to prevent this,
> like the dbio flag does for the database?
> I want to examine the file in memory and so don't need to write to
> disk.
>
> thanks,
> Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to