[Zope] Yet another newbie question (file upload and python
scripts)
Andreas Jung
lists at andreas-jung.com
Sat Jan 28 14:36:17 EST 2006
--On 28. Januar 2006 11:20:12 -0800 David <bluepaul at earthlink.net> wrote:
> -------
>>
>>
>>
> Janusz,
>
> Zope objects of meta-type FILE do not have a read(). But with python
> there always is a way, eg
There is no meta-type FILE but only File. But this does not matter in this
case since an uploaded file *does* have a read() method. The code looks
mostly ok. I would look directly at the REQUEST object to figure out what
the request really contains.
-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060128/656b833f/attachment.bin
More information about the Zope
mailing list