lib/unifile-ftp.js
function getClient(credentials) {
	return new Promise((resolve, reject) => {
		const ftp = new Ftp(credentials);
		ftp.once('connect', () => {
			resolve(ftp);
		});
	});
}
function getClient(credentials) {
	return new Promise((resolve, reject) => {
		const ftp = new Ftp(credentials);
		ftp.once('connect', () => {
			resolve(ftp);
		});
	});
}
function getClient ( credentials ) { return new Promise ( ( resolve , reject ) => { const ftp = new Ftp ( credentials ) ; ftp . once ( 'connect' , ( ) => { resolve ( ftp ) ; } ) ; } ) ; }
Initialize a new FTP client
@param {Credentials} credentials - Access info for the FTP server
@return {Promise<Ftp>} a promise for a FTP client
Initialize a new FTP client