SetFileList Method
Sets the file list for a connection during a directory listing request.
Syntax
async sftpserver.setFileList(connectionId : string, list : Array): Promise<void>
Remarks
SetFileList should be set when a directory listing is requested by the client. The list parameter should be a string of all the filenames to include, separated by CRLF.