[Zope] Zero length files after FTP put to ZServer

Alex.Thomas@dresdnerkb.com Alex.Thomas@dresdnerkb.com
Sun, 30 May 1999 18:04:36 +0100


OK, thanks for that. Following a suggestion from Rhys Jones I've copied the
1.5.1 version of cgi.py to the ZPublisher directory and that's fixed it for
now.

cheers
Alex

-----Original Message-----
From: Martijn Pieters [mailto:mj@antraciet.nl]
Sent: 29 May 1999 13:26
To: zope@zope.org
Cc: Alex.Thomas@dresdnerkb.com; Michel@digicool.com
Subject: Re: [Zope] Zero length files after FTP put to ZServer


>> (Zope 2.0a with ZServer)
>>
>> Odd... can't seemt to transfer the body of a document to ZServer using
FTP -
>> the file appears but is either zero length or, if new, contains the
default
>> DTML script. Nothing obviously wrong in the log (Z2.log), also tried a
couple
>> of different FTP clients (NT and Solaris FTP) - any ideas?
>
> Someone reported a similar bug, I'm working on reproducing it. Strange
thing
> is it doesn't happen with 1.11... Perhaps I should run it through the 
> Amos-Bot.

This is because of a change in python's FieldStorage.py between versions
1.5.1 and 1.5.2. If you use python 1.5.1 with 1.11.0pr1 like DC tells you
too, and 1.5.2 with 2.0.0a1, you'll indeed notice a difference. Item 242 in
the Collector:

  http://www.zope.org/Collector/242/view

Reproducable by toggling between the old and new versions of
FieldStorage.py.


-- 
Martijn Pieters, Web Developer 
| Antraciet http://www.antraciet.nl 
| Tel: +31-35-6254545 Fax: +31-35-6254555 
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj 
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 
------------------------------------------


_______________________________________________
Zope maillist  -  Zope@zope.org
http://www.zope.org/mailman/listinfo/zope

(For developer-specific issues, use the companion list,
zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
##########################################
This email, its content and any files transmitted with it are intended
solely for the addressee(s) and may be legally privileged and/or 
confidential. Access by any other party is unauthorised without the
express written permission of the sender. If you have received this 
email in error you may not copy or use the contents, attachments or 
information in any way. Please destroy it and contact the sender on 
the number printed above, via the Dresdner Kleinwort Benson 
switchboard on +44 171 623 8000 or via e-mail return. Internet 
communications are not secure unless protected using strong 
cryptography. This email has been prepared using information believed
by the author to be reliable and accurate, but Dresdner Kleinwort 
Benson makes no warranty as to accuracy or completeness. In particular
Dresdner Kleinwort Benson does not accept responsibility for changes
made to this email after it was sent. Any opinions expressed in this 
document are those of the author and do not necessarily reflect the 
opinions of the Bank or its affiliates. They may be subject to change
without notice.
##########################################