atinux / node-ftps

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

rm supports no wildcards :( #72

Open alcero opened 5 years ago

alcero commented 5 years ago

Thanks for that straight-forward sftp-client!

I would like to remove old files, but unfortunatly the implemented "rm" from lftp does not support wildcards. mrm does, but it seems that this is not directly implemented in node-ftps.

It would be great, if sb could implement it (or just use the mrm from lftp instead of rm). thx!

Could anybody give me an idea, how I could use mrm? Thank you!

Just for information, how easy to use this module is: ftps.put(srcname_h, dtsname_h).exec(function (err, res) {if(err) log.error(err);}); :)