UNPKG
ftp-srv-u
Version:
latest (1.1.0)
1.1.0
1.0.1
1.0.0
0.0.0
Modern, extensible FTP Server
github.com/AndyLee1024/ftp-srv
AndyLee1024/ftp-srv
ftp-srv-u
/
src
/
commands
/
registration
/
nlst.js
11 lines
(9 loc)
•
263 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
list =
require
(
'./list'
).
handler
;
module
.
exports
= {
directive
:
'NLST'
,
handler
:
function
(
args
) {
return
list.
call
(
this
, args); },
syntax
:
'{{cmd}} [<path>]'
,
description
:
'Returns a list of file names in a specified directory'
};