jsftp
jsftp copied to clipboard
Documentation May Be Wrong
On your how to / api example it reads:
const ftp = new Ffp({ host: 'localhost', port: 3333, ....
Did you mean Ftp? What is Ffp?
It's the imported module's name.
If you import as in "Starting it up" : const jsftp = require("jsftp");
It should be : const ftp = new jsftp({ host: 'localhost', port: 3333, ....
Maybe the documention should be updated to use the module name 'jsftp' everywhere instead of 'Ffp' (or the contrary...).