[issue9601] ftplib should accept 250 on MKD
New submission from alphablue52 : I try to use ftplib for a Webspace running on a Windows Server machine. The server responses 250 instead of 257 (which would be correct according to RFC959, ftp) It would be nice if ftplib could also tolerate the 250 "Requested file ation okay, completed" code, since I cannot change the server (or beat that M$ programmer). Thanks! -- components: Library (Lib) messages: 113866 nosy: alphablue52 priority: normal severity: normal status: open title: ftplib should accept 250 on MKD versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue9601> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9601] ftplib should accept 250 on MKD
Changes by alphablue52 : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue9601> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9601] ftplib should accept 250 on MKD
alphablue52 added the comment: Yes. If you send a "MKD" than Windows Server responses "250", and ftplib generates an Error. -- ___ Python tracker <http://bugs.python.org/issue9601> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9601] ftplib should accept 250 on MKD
alphablue52 added the comment: 250 is an invalid response to MKD. M$ Windows Server 2003 does it anyways. M$ Windows Server is a rather common OS, and there are people like me how have to live with this. Maybe it should put this into the following words: "Please make ftplib usuable with M$ Win Server 2003" -- ___ Python tracker <http://bugs.python.org/issue9601> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9601] ftplib should accept 250 on MKD
alphablue52 added the comment: Jep I also discovered it by using Bazaar, but apparently it goes down to the ftplib. The bazaar fix works, and here is the response of strato.com (I use bash ftp): ftp> open ftp.strato.com Connected to ftp.strato.com. 220 Speak friend, and enter Name (ftp.strato.com:ich): m...@mywebsite.com 331 FTP login okay, send password. Password: 230 User logged in, proceed. Remote system type is UNIX. Using binary mode to transfer files. ftp> mkdir test 250 Directory created. -- ___ Python tracker <http://bugs.python.org/issue9601> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com