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 /tmp
> directory causing an internal server error with the risk to crashing
> other applications. So is it possible to change the temporary
> directory or instruct Pylons to write directly in the correct
> location?
>

I guess Pylons use python's tempfile module. You can try to change the
tempdir or set an env var:

http://docs.python.org/library/tempfile.html#tempfile.tempdir

--
Gael

> Thanks
> Enrico
>
> --
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To post to this group, send email to pylons-disc...@googlegroups.com.
> To unsubscribe from this group, send email to 
> pylons-discuss+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/pylons-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-disc...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to