ftp issue, error on login

Hi all I am having an issue with ftp login when I click on the net2ftp login and use the right login and password along with the ftp server name I get the following error:
The error occured in file /var/www/vhosts/ehcp/net2ftp/includes/filesystem.inc.php on line 64.

* function ftp_openconnection (/var/www/vhosts/ehcp/net2ftp/modules/browse/browse.inc.php on line 223)
* function net2ftp_module_printBody (/var/www/vhosts/ehcp/net2ftp/main.inc.php on line 313)
* function net2ftp (/var/www/vhosts/ehcp/net2ftp/index.php on line 59)
o argument 0: printBody

Is this a bug? a corrupt ehcp file?
I am at a loss....any help would be great I really need my FTP working again


test your ftp user/pass using an ftp client such as filezilla

It errors out using filezilla also

then, make sure that, you have installed only vsftpd as ftp server.

if you are using some other ftp server, then, it will not work with ehcp.
ehcp is configured to work with vsftpd

which ehcp version you are using ? should be 0.29.15 which is new.

try these:
upgrade ehcp if not 0.29.15
ehcp->options->fix mail config
ehcp-> add a new ftp user

then test.