Get error message from FTPLib

Bakes bakes at
Wed Sep 23 19:46:19 CEST 2009

I am using ftplib for a project, using a try/except loop.

I would like to find out the exception, but I am a python newbie and
do not know how.

How, in a try/except loop would I find the ftplib exception?

More information about the Python-list mailing list