Delete all the files in this directory (and its subdirectories if recurse is true) that match
the supplied wildcard.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
public void DeleteFiles( string remoteDir, string wildcard, bool recurse ) |
Visual Basic |
---|
Public Sub DeleteFiles ( _ remoteDir As String, _ wildcard As String, _ recurse As Boolean _ ) |
Visual C++ |
---|
public: void DeleteFiles( String^ remoteDir, String^ wildcard, bool recurse ) |
Parameters
- remoteDir
- Type: System..::..String
name of remote directory
- wildcard
- Type: System..::..String
wildcard for specifying files (? for single characters and * for multiple characters)
- recurse
- Type: System..::..Boolean
true if recursing through subdirectories
Remarks
No directories are deleted. Only files matching the filter are deleted. On
Windows clients, case is ignored.