AbstractRecursiveOperationsDeleteFiles(String, String, Boolean) Method
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: 12.7.0.0
public void DeleteFiles(
string remoteDir,
string wildcard,
bool recurse
)
Public Sub DeleteFiles (
remoteDir As String,
wildcard As String,
recurse As Boolean
)
public:
void DeleteFiles(
String^ remoteDir,
String^ wildcard,
bool recurse
)
member DeleteFiles :
remoteDir : string *
wildcard : string *
recurse : bool -> unit
Parameters
- remoteDir String
- name of remote directory
- wildcard String
- wildcard for specifying files (? for single characters and * for multiple characters)
- recurse Boolean
- true if recursing through subdirectories
No directories are deleted. Only files matching the filter are deleted. On
Windows clients, case is ignored.