Comment 2 for bug 224373

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 224373] Re: bzr push ftp://www.onlinefilefolder.com/ to a folder path throws exception after creating the first folder

On Tue, 2008-04-29 at 20:15 +0000, John A Meinel wrote:
> It seems that the server is *supposed* to return a response code of 257, not 250.
> 250 Requested file action okay, completed.
> 257 "PATHNAME" created.
>
> According to:
> http://www.altools.com/image/support/alftp/ALFTP_35_help/FTP_response_codes_rfc_959_messages.htm
>
> We probably could trap and specifically allow 250. Otherwise it should
> be considered a bug in the Python standard library ftplib ftp
> processing.

Let me just say 'yay microsoft'. Recently we've had to add a workaround
to squid for microsoft violating RFC2616 as well on microsoft.com, so it
is no surprise to find this too.

-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.