28 Jun
2001
28 Jun
'01
1:25 p.m.
I have a special httpd clinet that sends the file encoded as base64 . In the DocLibrary product they have doc.manage_upload(REQUEST.file) I want to change that to something similar to doc.manage_upload( base64.decodestring(REQUEST.file)) But manage_upload waits for a file or an object that mimics a file and base64.decodestring needs a string ( base64.decode( f1,f2) needs f1 and f2 as file) so I need an object that mimics a file so I can decoded ( file object ??) base64.decode(REQUEST.file, decoded) doc.manage_manageupload( decoded ) is there such an object ? Any suggestions ? Sedat Yilmazer Kibele Iletisim Sis. ve Serv. Ltd.