[web2py] Web2Py on Heroku

2012-10-30 Thread Exeption
Hi, I've started to port an web2py app to run on Heroku. Actually it runs OK. My app is just a DB API provider and doesn't need sessions at all. It doesn't need any log files and file-based tickets. Tickets on remote system are useless because no admin interface allowed remotely and remote

[web2py] Check upload file size before actual file data uploading

2012-10-01 Thread Exeption
Hi, Already have asked herehttp://stackoverflow.com/questions/12668310/check-upload-file-size-before-actual-file-data-uploading, but no reply. I will duplicate my question here: In my web2py controller I'm accessing file data like: vfile = request.post_vars.video.file But how can I check