Try to use ftp_nb instead class ftp