atinux / node-ftps

FTP, FTPS and SFTP client for node.js, mainly a lftp wrapper.
MIT License
202 stars 57 forks source link

ls with aster #78

Open LorenzoScarpa opened 4 years ago

LorenzoScarpa commented 4 years ago

i would like to list file filtering by name and partial search as in terminal

ftpClient.cd(path).raw('ls -l dir/filename*').exec((err, res) => {
        if (err) {
          throw err;
        }
        return res.data;
});