Jsftp Versions Save

Light and complete FTP client implementation for Node.js

v2.0.0

6 years ago

This major version bump is mainly due to the raw API changes.

v1.5.4

7 years ago

v1.5.3

8 years ago

This bugfix release fixes an error when reading some remote MS-DOS folder listings.

Also:

  • Improved tests
  • Updated dependencies for several dev packages

v1.5.0

9 years ago

Not that Node 0.12 is released, there is no need to keep compatibility with a stable version that is 3 stages removed form the current one.

v1.3.9

9 years ago

Fixed:

  • Issue 106: jsftp intermittently skips end event on socket (@sergi)
  • Code improvements to the response parser

v1.3.7

9 years ago

When attempting 2 simultaneous PASV requests, an ECONNREFUSED would happen and crash jsftp. With this release, an error will be generated when this happens, giving a clue on what went wrong. This is the kind of code that could cause an ECONNREFUSED before:

var JsFtp = require('jsftp'),
    ftp = new JsFtp({
        "host": "localhost",
        "user": "foo",
        "pass": "bar",
    }),
    file1 = 'foo/1.jpg',
    file2 = 'foo/2.jpg';

// Wrong way to invoke two consecutive requests!
ftp.get(file1, __dirname + '/2.jpg', function () {
    console.log('FILE1', arguments);
});
ftp.get(file2, __dirname + '/2.jpg', function () {
    console.log('FILE2', arguments);
});

v1.3.4

9 years ago

This is a small release containing a fix for when a LIST command (called directly or using Ftp.ls) would be issued with a path to an un-existing file or directory. In this case, the error would never be caught and the ls callback would never be notified.

v1.3.1

9 years ago

In some cases, get would still try to retrieve the file even if there was an error getting the passive socket. This is now fixed.

v1.2.2

10 years ago

New release! This time severa changes in the release have been contributed by external developers. Thanks a lot for your help!

Release notes:

  • Accept stream as a source parameter to put (thanks to @BorePlusPlus)
  • hasFeat now always returns a boolean value. (thanks to @asylumfunk)
  • Allow Ftp.raw to issue arbitrary remote commands. (thanks to @asylumfunk)
  • Preserve error replies on USER/PASS failure. (thanks to @asylumfunk)
  • keepAlive can take an optional time period now. (thanks to @asylumfunk)
  • Passive timeout handling (thanks to @BorePlusPlus and @delibes)
  • Added debug mode and its API (@sergi)

Enjoy!

v1.2.0

10 years ago

This release offers the following improvements:

  • Solved potential async problems in file-listing parsing when using ls, stat or list.
  • Fixed non-working passive operations when some servers would return a "125 Data connection already open; Transfer starting." response.
  • Modularized away ftp-response parsing and file listing parsing into their own modules (https://github.com/sergi/ftp-response-parser and https://github.com/sergi/parse-listing). This offers better tested and more quality code overall.
  • Other smaller code improvements.