hello all i'm currently implementing a virtual filesystem client using zope and gnome.vfs i have the following question regarding file uploads how do i get a file like object (for iteration) from a "POST" upload request in order to proxy the data to the actual target storage i don't want to load the whole data into memory, so i have to do this in junks tia, bernd ps: i alread took a look at OFS.Image, but this uses some kind of persistence stuff, hm
Bernd Dorn wrote at 2004-12-20 17:03 +0100:
i'm currently implementing a virtual filesystem client using zope and gnome.vfs
i have the following question regarding file uploads
how do i get a file like object (for iteration) from a "POST" upload request in order to proxy the data to the actual target storage
You get a "ZPublisher.HTTPRequest.FileUpload" object which is file like. Especially, it has a "read" method... -- Dieter
participants (2)
-
Bernd Dorn -
Dieter Maurer