< 220 FTP server ready > USER anonymous < 331 Anonymous login ok, send your complete email address as your password > PASS anonymous@ < 230 Anonymous access granted, restrictions apply > CWD pub/libxml < 250 CWD command successful > TYPE A < 200 Type set to A > TYPE A < 200 Type set to A > PASV < 227 Entering Passive Mode (144,76,37,74,129,253). > LIST < 150 Opening ASCII mode data connection for file list > TYPE I < 226 Transfer complete < 200 Type set to I > PASV <-- exception when handling response < 227 Entering Passive Mode (144,76,37,74,139,175). File "C:\Py\lib\ftplib.py", line 334, in ntransfercmd host, port = self.makepasv() File "C:\Py\lib\ftplib.py", line 312, in makepasv host, port = parse227(self.sendcmd('PASV')) File "C:\Py\lib\ftplib.py", line 830, in parse227 raise error_reply, resp IOError: [Errno ftp error] 200 Type set to I