Hi, how are you uploading the files? I upload files to my pylons app
as a Content-Disposition: form-data; Content-Type:
application/octet-stream
and access it in my controller as a request.params['foo'].value in
memory and choose myself where to save it.

What feature do you use to make pylons save it direct to disk, I may
look at doing something like that as an optimization. (Although my
current method seems to work well even for pretty large files)

Otherwise getting the file as a stream or something could be interesting too.

Cheers
Kurt

On Fri, Sep 26, 2008 at 10:57 AM, Dunk Fordyce
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> When uploading files to my pylons app files are being put in /tmp. Is it
> possible to change this location? Im not 100% sure if this is a pylons thing
> or an apache setting ( or maybe even mod_wsgi? ). Unfortunately the /tmp dir
> on our server is mounted on quite a small partition.
>
> Dunk
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to