List Info

Thread: file uploads and temporary files




file uploads and temporary files
country flaguser name
United States
2007-06-27 15:45:59
I read, from the following link, that cherrypy is putting
file upload
data into a temporary file for me. Then, later, when my
controller is
invoked, it can read from the file and store it in a
permanent file.

<a href="http://www.cherrypy.org/browser/trunk/cherrypy/tutorial/

tut09_files.py">
http://www.cherrypy.org/browser/
trunk/cherrypy/tutorial/tut09_files.py</a>

If true, then is there a way to move the file rather than it
again in
my TG controller?

Seems like this would be potentially more efficient,
especially with
large files, as I am expecting quite often with my video
application.

Can someone please confirm that this temporary file scheme
is indeed
used.
I currently am using CP 2.2.1 with TurboGears.

thanks,
Jesse.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )