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

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

Syntax

C#
public void DeleteFiles(
	string remoteDir,
	FileFilter filter
)
Visual Basic
Public Sub DeleteFiles ( _
	remoteDir As String, _
	filter As FileFilter _
)
Visual C++
public:
void DeleteFiles(
	String^ remoteDir, 
	FileFilter^ filter
)

Parameters

remoteDir
Type: System..::..String
name of remote directory
filter
Type: EnterpriseDT.Net.Ftp..::..FileFilter
FileFilter to use for determining which files should be included.

Remarks

No directories are deleted. Only files matching the filter are deleted. On Windows clients, case is ignored.

See Also