Is there a simple way to delete multiple files using the FTPClient class?
For example: oFTP.Delete("/Test/Hello.*")
Most FTP servers support the "MDELETE" command but I cannot find a way to execute with your Aspose.Network.FTP classes.
Executing multiple commands to list a directory and then individually delete the files 1-by-1 would be terribly slow compared to the MDELETE. I am hoping this is supported or can be quickly added.
Thanks
Hi,
I am sorry the Delete() method currently takes the file name as an argument. There is no such method to delete multiple files. I have logged a new issue in our system (ID: 20829) for deleting multiple files from a folder based on a pattern e.g. “Hello*.txt”. We will inform you when this feature will become available.
The issues you have found earlier (filed as 20829) have been fixed in [this update](http://www.aspose.com/community/files/51/.net-components/aspose.network-for-.net/entry282025.aspx)
.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.