-
Notifications
You must be signed in to change notification settings - Fork 99
Description
when the number of files exceeds 3170, the LIST command generates the following exception:
FTP command: LIST
Directory has 3170 files
/home/sesame/lumipark/node_modules/ftpd/lib/ftpd.js:677
return x.localeCompare(y);
^
RangeError: Maximum call stack size exceeded
at String.localeCompare (native)
at sf (/home/sesame/lumipark/node_modules/ftpd/lib/ftpd.js:677:24)
at /home/sesame/lumipark/node_modules/ftpd/lib/ftpd.js:681:20
at Array.sort (native)
at finished (/home/sesame/lumipark/node_modules/ftpd/lib/ftpd.js:679:31)
at handleFile (/home/sesame/lumipark/node_modules/ftpd/lib/ftpd.js:643:40)
at /home/sesame/lumipark/node_modules/ftpd/lib/ftpd.js:658:11
at FtpServer.self.getGroupFromGid (/home/sesame/lumipark/node_modules/ftpd/lib/ftpd.js:99:5)
at /home/sesame/lumipark/node_modules/ftpd/lib/ftpd.js:646:21
at FtpServer.self.getUsernameFromUid (/home/sesame/lumipark/node_modules/ftpd/lib/ftpd.js:96:5)
[nodemon] app crashed - waiting for file changes before starting...