question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Confusion between STAT and LIST

See original GitHub issue

Hi,

It looks like the STAT command is actually doing LIST’s job. According to Wikipedia

  • LIST returns information of a file or directory
  • STAT returns information about the server

Looking to your code I saw stat.js is returning FileStat and LIST returns an error when you give a file as path.

To be conform to a FTP server, STAT should return the state of the instance and LIST should accept a file as argument and do a fs.stat() on it.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JbIPScommented, Jun 8, 2017

Perfect!

0reactions
trscommented, Jun 8, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

List vs State - What's the difference? | WikiDiff
As verbs the difference between list and state. is that list is to create or recite a list while state is to declare...
Read more >
Python | Difference between two lists - GeeksforGeeks
Method 3: Use a list comprehension and set to Find the Difference Between Two Lists in Python. In this method, we convert the...
Read more >
List vs Dictionary | 10 Difference Between List and ... - FavTutor
This article will explain list and dictionary data structure and their difference and when to use list vs. dictionary in Python. What are...
Read more >
Difference Between State and Nation | Definitions, Comparisons
The main difference between state and nation is that state is a political and legal entity whereas nation is a socio-cultural entity. Difference ......
Read more >
Difference-in-Difference Estimation | Columbia Public Health
The Difference-in-Difference estimation is a longitudinal study and is ... review of economics and statistics”, 1978 (Orley Ashenfelter) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found