Confusion between STAT and LIST
See original GitHub issueHi,
It looks like the STAT
command is actually doing LIST
’s job. According to Wikipedia
LIST
returns information of a file or directorySTAT
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:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Perfect!
https://github.com/trs/ftp-srv/pull/21