edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

IExFileTransferClientMultipleDelete(String, String, Boolean) Method

Delete multiple files in the current remote directory and its subdirectories.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
void MultipleDelete(
	string remoteDir,
	string wildcard,
	bool recurse
)

Parameters

remoteDir  String
remote directory to delete
wildcard  String
wildcard for specifying files (? for single characters and * for multiple characters)
recurse  Boolean
if true, recurse down into subdirectories

Remarks

Wildcard characters supported are '?' and '*'. Subdirectories are not deleted

See Also