No there s no problem with this. You should not determine the size of
the file with request.env.content_length, you should use

... Field('name','upload',requires=IS_LENGTH(10000))

where 10000 is the max lenght.

On Jul 15, 7:06 am, Richard <richar...@gmail.com> wrote:
> hello,
>
> the current database design of our application will require the user
> to upload 2 files in a single form. Is there any problem with this?
> One thing I thought of is we could no longer determine the size of the
> file with request.env.content_length.
>
> Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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