This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chris.mahan
Recipients ajaksu2, chris.mahan, vstinner
Date 2009-01-02.06:35:13
SpamBayes Score 0.012456699
Marked as misclassified No
Message-id <1230878114.9.0.0123296844222.issue4791@psf.upfronthosting.co.za>
In-reply-to
Content
I went into the source for Libs/ftplib.py  and I noted that line 423 is: 

if self.debugging > 2: print('*retr*', repr(line))

so I changed the debuglevel to 3, as such:  ftp.set_debuglevel(3)
and I got these last 4 lines:

-rwxrwxrwx   1 nobody   nogroup      6465 Dec 28 13:53 test9_sm.flv.jpg
*retr* ''
*get* '226 Transfer complete\r\n'
*resp* '226 Transfer complete'

First line, the last line of the listing.
second line, the debug, showing the last  line read
third and fourth lines: the program actually completed and didn't hang!

still digging
History
Date User Action Args
2009-01-02 06:35:15chris.mahansetrecipients: + chris.mahan, vstinner, ajaksu2
2009-01-02 06:35:14chris.mahansetmessageid: <1230878114.9.0.0123296844222.issue4791@psf.upfronthosting.co.za>
2009-01-02 06:35:13chris.mahanlinkissue4791 messages
2009-01-02 06:35:13chris.mahancreate