* * @param {String} host * @param {Number} port * @param {String} username * @param {{password?: String, passPhrase?: String, keyFile?: String}} authentication
(host, port, username, authentication)
| 584 | * @param {{password?: String, passPhrase?: String, keyFile?: String}} authentication |
| 585 | */ |
| 586 | function Sftp(host, port, username, authentication) { |
| 587 | return new SftpClient(host, port, username, authentication); |
| 588 | } |
| 589 | |
| 590 | Sftp.fromUrl = (url) => { |
| 591 | const { username, password, hostname, pathname, port, query } = |