jsftp
jsftp copied to clipboard
Light and complete FTP client implementation for Node.js
I would like to know how do I navigate between directories, I need to access my public_html.
On your how to / api example it reads: const ftp = new Ffp({ host: 'localhost', port: 3333, .... Did you mean Ftp? What is Ffp?
This looks like a common problem for most FTP libraries. However decent softwares like FileZilla client handles this issue pretty nice. When FileZilla client gets a file list from FTP...
To handle an invalid port I need to listen either to the `close` or to the `end` event during the connection process. The `timeout` event can not be used for...
Hello, sometimes ftp.get don't call the callback, this is my code to get a list of file : ``` javascript ftp.ls("/home/log/.", function (err, res) { if (err) { return console.error(err)...
Ftp.raw('send', 'public/media/image/2.jpg', '/km/stagingtest/test/media/test/2.jpg', function (err, data) { }) i am try to use send command to upload image ,but return '500 Command not understood.'
By using the readable event the paused flowMode is forced upon the stream, even though the use of pipe() later on. By explicitly calling stream.read() on the readable event the...
If the server contains a filename starting with one or more spaces, they will be trimmed in the `Ftp.list` listing. I guess this is due to a bug in the...
When connecting to an FTP using the following code: ```js const Ftp = new jsftp({ host: "myhost", port: 21, // defaults to 21 user: "login", // defaults to "anonymous" pass:...
I needed to add this to get the timeout working. Is it correct?