I have these files on the FTP server:
nějaký zajímavý název.png
some file.png
When I call list() method, I get these results:
[
{ name: 'nÄaký zajÃmavý název.png' },
{ name: 'some file.png' }
]
I fixed this by removing the 'binary' parameter from toString() method:
https://github.com/JakubMrozek/node-ftp/commit/26f86f312454f4678a224b227e29b663079f5f8e
Now it works great. Can I send you a pull request?