Giampaolo Rodola' <billiej...@users.sourceforge.net> added the comment:
According to the log file you have attached Proftpd always sends 1xx before 226 which is the RFC-compliant and widely adopted behavior, *also* when it's listing the content of an empty directory. See: 07:55:19 Cmd: LIST 07:55:19 150: Opening ASCII mode data connection for file list 07:55:19 226: Transfer complete 07:55:19 Remote listing contents { 07:55:19 } There's really no reason for an FTP server to send 1xx after 226, no matter if the listed directory is empty or not. It just doesn't make sense. Plus, Proftpd clearly *not* behave as such, as it is shown by your log file. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1726451> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com