if it's a multipart upload you'd have the corresponding FieldStorage instance on the request.post_vars
On Thursday, October 31, 2013 12:53:31 PM UTC+1, encompass wrote: > > I have various data I can handle but how do I handle the file upload? > I can read the message from request.post_vars.file_data. But how do I do > things like save it to my uploads directory (or another directory if > needed.) > I am not using a tradition form because it's data I use in a very > different way. > A phone app is sending the data as a post request. (In the quickest way to > describe it.) > BR, > Jason Brower > > > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.