Got Error: getaddrinfo ENOTFOUND ftp://xxx.com
pansitwattana opened this issue · 0 comments
pansitwattana commented
I just realize that the host should not contain ftp://
I think it should be able to handle or remove ftp:// itself
This confuses me for a time
var Ftp = new JSFtp({ host: 'ftp://xxx.com' '});
so the solution is to remove ftp://
var Ftp = new JSFtp({ host: 'xxx.com' '});