Re: Temporary directory

2010-02-09 Thread Gael Pasgrimaud
Hi, On Tue, Feb 9, 2010 at 12:43 PM, morellik enrico.more...@gmail.com wrote: Dear all, I wrote an application where users  can upload files up to 1GB. I noticed that Pylons use /tmp like temporary directory before write the file on the correct location. More times this behaviour fill my

Re: Temporary directory

2010-02-09 Thread morellik
On Feb 9, 2:18 pm, Gael Pasgrimaud g...@gawel.org wrote: Hi, On Tue, Feb 9, 2010 at 12:43 PM, morellik enrico.more...@gmail.com wrote: Dear all, I wrote an application where users  can upload files up to 1GB. I noticed that Pylons use /tmp like temporary directory before write the

Re: Temporary directory

2010-02-09 Thread morellik
I find a solution. I don't know if this is the best solution, but works. I put in base.py import tempfile tempfile.tempdir = '/temp_directory' -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Re: Temporary directory

2010-02-09 Thread Mike Orr
On Tue, Feb 9, 2010 at 6:15 AM, morellik enrico.more...@gmail.com wrote: I find a solution. I don't know if this is the best solution, but works. I put in base.py import tempfile tempfile.tempdir = '/temp_directory' Does it work if you set that in environment.py? Then you can have it based