[Zope] Zero length files after FTP put to ZServer

Martijn Pieters mj@antraciet.nl
Sat, 29 May 1999 13:25:45 +0200


>> (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 
------------------------------------------