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 ------------------------------------------
On Sat, 29 May 1999 13:25:45 +0200, Martijn Pieters <mj@antraciet.nl> said: Martijn> This is because of a change in python's FieldStorage.py between Martijn> versions 1.5.1 and 1.5.2. If you use python 1.5.1 with Martijn> 1.11.0pr1 like DC tells you too, and 1.5.2 with 2.0.0a1, you'll Martijn> indeed notice a difference. Item 242 in the Collector: Martijn> http://www.zope.org/Collector/242/view Martijn> Reproducable by toggling between the old and new versions of Martijn> FieldStorage.py. My Bug report can be collapsed into the one above. 175) Zope Bug: FTP support is funky Submitted: 1999/05/20 * * * This item is under review * * * I didn't realize it until I saw the post from Jim Washington and I grabbed the old cgi.py and slapped it into zope/lib/python/ FTP works much better now! Python 1.5.2 Zope 2, CVS Alex Rice | alrice@swcp.com | http://www.swcp.com/~alrice Current Location: N. Rio Grande Bioregion, Southwestern USA
participants (2)
-
Alex Rice -
Martijn Pieters