killkolor schrieb:
> Has anybody some sample code for this? (Storing to a disk file or to a
> BLOBCol is both fine)

http://docs.turbogears.org/1.0/FileUploadTutorial?highlight=%28upload%29#add-the-upload-method

Item 3 in the list.

 > I have to upload the bytestream of a .png image (can't be normal
 > fileupload, since it automatically comes out of a 3d engine) to a
 > server side turbogears page.

A file upload is just a normal POST request with the request data 
specially encoded. Cherrypy takes care of decoding it and providing a 
file object from which you can read.

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to