merged with @dg/ftp-deployment Ftp class
see
https://github.com/dg/ftp-deployment/blob/master/Deployment/libs/Ftp.php