[ftputil] Setting a passive/active connection during the same connection

Marco Buccini buccini.marco at alice.it
Sun Mar 23 17:48:32 CET 2008


Hi!

Is there a way to set a modality passive/active during the connection 
and not only before the connection ?

Infact with ftplib we have:

ftp = ftplib.FTP(host,user,pass, port) #or some similar
ftp.set_pasv(True|False)

Instead in ftputil we have to define a class as in the example in the 
documentation.

Can you help me?

Bye.




More information about the ftputil mailing list