<s> from ftplib import * <EOL> import sys <EOL> import ftplib <EOL> try : <EOL> ftp = FTP ( '<STR_LIT:localhost>' ) <EOL> except : <EOL> print "<STR_LIT>" <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> try : <EOL> ftp . login ( ) <EOL> except : <EOL> print "<STR_LIT>" <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> packet = "<STR_LIT>" + "<STR_LIT>" * <NUM_LIT> <EOL> try : <EOL> ftp . sendcmd ( packet ) <EOL> ftp . quit ( ) <EOL> except ftplib . all_errors , error : <EOL> print ( "<STR_LIT>" ) </s>
