f.abort() Tries to interrupt an ongoing file transfer by immediately sending the FTP 'ABOR' f.login(user='anonymous',passwd='') Logs in to the FTP server..