node-ftp
node-ftp copied to clipboard
FIXED: use Buffer.from(string) instead of Buffer(string)
Fixes Node.js 10 deprecated warning, see: https://nodejs.org/api/buffer.html#buffer_new_buffer_string_encoding
@mscdex are you able to merge this?
Someone please merge this... I really need to use this library and this error is preventing me from doing so.
Someone please merge this... I really need to use this library and this error is preventing me from doing so.
I’m pretty sure this library is dead, https://github.com/mscdex/node-ftp/issues/277
Someone please merge this... I really need to use this library and this error is preventing me from doing so.
I’m pretty sure this library is dead, #277
Yeah, I thought so. Thanks for the heads up. Ended up using a different library.
@mgrist as a matter of interest, which library are you using now?
@mgrist as a matter of interest, which library are you using now?
I ended up using basic-ftp. It was really easy to use and seems to have regular updates to the repository. I mainly needed an FTP library that could work with streams. If you have any questions just let me know.