Git Product home page Git Product logo

parse-listing's Issues

File stat error with ftp-srv

Hi,

I'm using ftp-srv as a server and jsftp as a client in my tests and I saw my test using JSFTP.ls() returned no entry when calling it on a file.

After inspection I find out ftp-srv is outputing:

212 -rw-rw-rw- 1 1 1        16190 Dec 07 16:25

which is remove because it does not match RE_MULTI in parser.js, because of the space between the code and the first -.

Is the solution to change RE_MULTI to /^(\d\d\d)\s?-/ to allow space or did I miss something?

I can make a PR if you think this is a bug. Thank you

Error on files with accent (like é)

Hello,
The decoding of filenames with accents returns '\charcode' with many modules (grunt-ftpsync) using parse-listing. Please, could you take a look at utf8 module to decode filenames with accents?
Example :
else if (parsedEntry) {
parsedEntry.name = utf8.decode(parsedEntry.name); // <<< code to add + require(‘utf8’) on top of parser.js file
parsed.push(parsedEntry);
}
Just a proposal, don't hesitate...
Regards,
JMZ

Error in parser.js

Line 108, call to next() should be in:

process.nextTick(function()
{
next();
});

or call stack error is sometimes reached

After installing package useless files appeared!

Here is same problem:
npm install parse-listing

What's this:

..gitignore.un~                             │  1841
..travis.yml.un~                            │  2243
.Makefile.un~                               │ 38763
.package.json.un~                           │  1009
.parser.js.un~                              │   970
.parset_test.js.un~                         │ 17400
.README.md.un~                              │  6885

?

It must be removed from package.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.