One of our developers just spent another annoying morning trying to figure why his FTP transfers to Zope were sometimes responding with "426 Error creating file." with no other information being supplied. I've now added the ability to set the message to be sent back to the FTP client on FTPResponse. The patch is attached. We'll be using it and I hope that it, or something similar, makes it into the 2.3.1. I'd also hope that the standard PUT methods in the Zope source would set the message to something useful. At the moment, we set the message to the type and value of any exception raised in the PUT method. Of course, if there's a "better" way to do this, please tell me. Richard -- Richard Jones richard@bizarsoftware.com.au Senior Software Developer, Bizar Software (www.bizarsoftware.com.au)
I've now added the ability to set the message to be sent back to the FTP client on FTPResponse. The patch is attached. We'll be using it and I hope that it, or something similar, makes it into the 2.3.1.
Try submitting it to the collector. It's likely to get lost on the mailing list. --jfarr
Jonothan Farr wrote:
I've now added the ability to set the message to be sent back to the FTP client on FTPResponse. The patch is attached. We'll be using it and I hope that it, or something similar, makes it into the 2.3.1.
Try submitting it to the collector. It's likely to get lost on the mailing list.
Sorry, I wanted to get the reaction of zope-dev lurkers before firing it off to the Collector. If I get no responses soon, I will submit the patch to the Collector. Richard -- Richard Jones richard@bizarsoftware.com.au Senior Software Developer, Bizar Software (www.bizarsoftware.com.au)
richard@bizarsoftware.com.au wrote:
I've now added the ability to set the message to be sent back to the FTP client on FTPResponse. The patch is attached. We'll be using it and I hope that it, or something similar, makes it into the 2.3.1.
Please, please, please put this in the collector :-) I'd always assumed those messages couldn't be changed on the client side, but if your patch works, it'd make FTP _SO_ much more usuable... cheers, Chris
Chris Withers wrote:
richard@bizarsoftware.com.au wrote:
I've now added the ability to set the message to be sent back to the FTP client on FTPResponse. The patch is attached. We'll be using it and I hope that it, or something similar, makes it into the 2.3.1.
Please, please, please put this in the collector :-)
I'd always assumed those messages couldn't be changed on the client side, but if your patch works, it'd make FTP _SO_ much more usuable...
Yeah, we've already found it invaluable. Will submit to collector. Richard -- Richard Jones richard@bizarsoftware.com.au Senior Software Developer, Bizar Software (www.bizarsoftware.com.au)
participants (3)
-
Chris Withers -
Jonothan Farr -
richard@bizarsoftware.com.au