( path, host, port, username, password, security, mode, )
| 344 | } |
| 345 | |
| 346 | export default function Ftp( |
| 347 | path, |
| 348 | host, |
| 349 | port, |
| 350 | username, |
| 351 | password, |
| 352 | security, |
| 353 | mode, |
| 354 | ) { |
| 355 | return new FtpClient(path, host, port, username, password, security, mode); |
| 356 | } |
| 357 | |
| 358 | Ftp.fromUrl = (url) => { |
| 359 | const { username, password, hostname, pathname, port, query } = |