edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Delete all the files in the supplied remote directory (and optionally its subdirectories) that match the supplied filter.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 8.0.0.20

Syntax

C#
public virtual void DeleteMultipleFiles(
	string remoteDirectory,
	FileFilter filter,
	bool includeSubDirs
)
Visual Basic
Public Overridable Sub DeleteMultipleFiles ( _
	remoteDirectory As String, _
	filter As FileFilter, _
	includeSubDirs As Boolean _
)
Visual C++
public:
virtual void DeleteMultipleFiles(
	String^ remoteDirectory, 
	FileFilter^ filter, 
	bool includeSubDirs
)

Parameters

remoteDirectory
Type: System..::..String
name of remote directory
filter
Type: EnterpriseDT.Net.Ftp..::..FileFilter
FileFilter to use for determining which files should be included.
includeSubDirs
Type: System..::..Boolean
true if recursing through subdirectories

Remarks

No directories are deleted. Only files matching the filter are deleted.

See Also