[ftputil] debug mode?

Stefan Schwarzer sschwarzer at sschwarzer.net
Wed Sep 6 00:02:12 CEST 2006


Hi Terrence,

On 2006-09-03 02:52, Terrence Brannon wrote:
> Hi, I looked through the docs for ftputil but did not see any mention of a
> way to get the details of FTP interaction.
> 
> set_debuglevel did not work.

The ftputil.FTPHost class per default uses the ftplib.FTP class
to work with FTP connections. FTPHost doesn't have a debugging
switch (at least not yet; send me a user name and password for
an account on ftputil.sschwarzer.net to enter an issue in the
tracker if you want). But you can use the recipes at
http://ftputil.sschwarzer.net/trac/wiki/Documentation#connecting-on-another-port
and
http://ftputil.sschwarzer.net/trac/wiki/Documentation#using-active-or-passive-connections
to come up with a similar recipe to set the debug option of
contained ftplib.FTP objects.

Stefan


More information about the ftputil mailing list