--On 2. August 2006 10:13:17 -0700 AnThu Nguyen <[EMAIL PROTECTED]> wrote:


I'm trying to get the size of a file uploaded via an HTML form before
it's written. "context.REQUEST.file" only accesses the file name, not the
content. How do I read the contents? Any help will be much appreciated.

Read the data into a string and determine the length of the string.


ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting

Attachment: pgp4MHOmysI8f.pgp
Description: PGP signature

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to