Deleting multiple files |
You can delete multiple files using the Sftp#mdelete method and a regular expression. All files will be deleted from your current remote directory.
Example
// delete all files ending with .gif extension in current remote directory sftp.mdelete(".*\\.gif");
|