[email protected] wrote:
The long and short is that the file object you have access to during
the request is temporary. As soon as it is closed (when the request is
finished, at the latest), it will be wiped from the system. You'll
need to copy the file with shutil.copyfileobj.

I think you'll need to read this page: 
http://wiki.pylonshq.com/display/pylonsdocs/Form+Handling

Pay close attention to "File Uploads", which should answer most of
your questions

I see, so I have to copy the file somewhere. Do I have to copy it by copyfileobj or is there some way of knowing its true location and moving it instead? Assuming that the temp dir and permanent storage were on the same file system, this would save some time.

Regards,

--
Juliusz Gonera
http://juliuszgonera.com/

--
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