I plan to release a new stable later this week.
On Monday, 3 December 2012 11:42:05 UTC-6, Paulo wrote:
>
> I think I have good news: I tried trunk version instead and the upload of
> a 300 mb file worked perfectly!
>
> I was using the stable 2.2.1 version until now.
>
> I use web2py in a product
I think I have good news: I tried trunk version instead and the upload of a
300 mb file worked perfectly!
I was using the stable 2.2.1 version until now.
I use web2py in a production server with other websites online. Is it safe
to use trunk version for the final web? Or should I wait for the s
Are you using trunk or stable? Can you try trunk?
On Monday, 3 December 2012 03:59:48 UTC-6, Paulo wrote:
>
> Hi again.
> First of all: thanks a lot for your answer Massimo, I know you have a lot
> to do, thanks for patiently helping the rookies.
>
> I had already tried that code (saw from an ol
Hi again.
First of all: thanks a lot for your answer Massimo, I know you have a lot
to do, thanks for patiently helping the rookies.
I had already tried that code (saw from an old post) but it dont work too.
Tried again and it gives the same exact error. This is the full code I used:
import os
You cannot do:
open(...,'wb').write(form.vars.myfile.file.read())
because this read the entire file in memory before writing it. You need to
use
http://docs.python.org/2/library/shutil.html
and do
shutil.copyfileobj(form.vars.myfile.file, open(...,'wb'))
Massimo
On Friday, 30 November 2012 1
5 matches
Mail list logo