Skip to content

Releases: sergi/jsftp

Updated `raw` API

08 Jun 11:01
Compare
Choose a tag to compare

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

Bugfix release

20 Sep 20:39
Compare
Choose a tag to compare

Fixed error when reading some remote MS-DOS folder listings

16 Nov 13:34
Compare
Choose a tag to compare

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

Also:

  • Improved tests
  • Updated dependencies for several dev packages

Drop compatibility for Node 0.8

07 Feb 18:01
Compare
Choose a tag to compare

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

23 Dec 12:06
Compare
Choose a tag to compare

Fixed:

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

Fix for simultaneous PASV requests

11 Oct 16:56
Compare
Choose a tag to compare

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);
});

Fix for LIST command

12 Sep 15:46
Compare
Choose a tag to compare

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.

Fix for `get` method

07 Jul 20:36
Compare
Choose a tag to compare

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.

jsftp 1.3.0

10 May 19:44
Compare
Choose a tag to compare

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!

Modularization

19 Nov 18:00
Compare
Choose a tag to compare

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.