[Zope] PUT_factory and File object?

Eric Fernandez egf05 at doc.ic.ac.uk
Thu Aug 10 09:17:30 EDT 2006


Stefan H. Holek wrote:
> On 10. Aug 2006, at 13:52, Eric Fernandez wrote:
>
>> def PUT_factory( self, name, typ, body ):
>
>      ob = None
>
>>    if typ.startswith('text'):
>>        ob = File(name, '', body, content_type=typ)
>>    return ob
>>
>>
>> However, I cannot upload jpg files anymore... What am I doing wrong 
>> there?
>
> Stefan
>
>
> -- 
> Anything that, in happening, causes something else to happen,
> causes something else to happen.  --Douglas Adams
>
>
So I guess http://www.plope.com/Books/2_7Edition/ExternalTools.stx#2-18 
needs to be corrected?

Eric


More information about the Zope mailing list