Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Parsing error on directory named "bourdarie" (jsftp 0.5.5) #41

rweigel opened this Issue · 0 comments

2 participants


When I execute

var ftp = new Ftp({
    host: "",
    user: "anonymous",
    port: 21, // Defaults to 21
    pass: ""
});"/", function(err, files){
    if (err) return console.error(err);
    console.log(files); // Contains an array of file objects

The console shows

Unrecognized format:

This appears to be a problem with parsing the directory named "bourdarie". In the listing, I see that it has found a directory named "bourd" and not "bourdarie":

{ name: 'bourd',
type: 1,
time: 1302926400000,
size: '4096',
owner: '0',
group: '0',
userPermissions: { read: true, write: true, exec: true },
groupPermissions: { read: true, write: false, exec: true },
otherPermissions: { read: true, write: false, exec: true } },

@sergi sergi closed this in b60bc42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.