> add > > ftp.set_debuglevel(3) > > so you can see what the goes on the wire (without that information, it's hard > to tell if it's a bug in the library or a glitch in your server). > > </F>
Hello Fredrik , thank you for your reply. I did a "ftp.set_debuglevel(3)" and ftp.nlst() now prints: >>> ftp.nlst() *cmd* 'TYPE A' *put* 'TYPE A\r\n' *get* '200 Type set to I.\r\n' *resp* '200 Type set to I.' *cmd* 'PORT 10,30,1,31,128,129' *put* 'PORT 10,30,1,31,128,129\r\n' *get* '200 PORT command Ok.\r\n' *resp* '200 PORT command Ok.' *cmd* 'NLST' *put* 'NLST\r\n' *get* '150 About to open data connection.\r\n' *resp* '150 About to open data connection.' *retr* '' *get* '226 Transfer complete.\r\n' *resp* '226 Transfer complete.' [] >>> Nico -- http://mail.python.org/mailman/listinfo/python-list