Discuss this help topic in SecureBlackbox Forum

TElSimpleFTPSClient.RemoveFiles

TElSimpleFTPSClient     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Recursively deletes files and directories.

Declaration

[C#/Java]
    void RemoveFiles(string Path, string Mask, bool CaseSensitive, bool Recursive);
    void RemoveFiles(TElStringList List);
    void RemoveFiles(String[] List);

[VB.NET]
    Sub RemoveFiles(ByVal Path As String, ByVal Mask As String, ByVal CaseSensitive As Boolean, ByVal Recursive As Boolean)
    Sub RemoveFiles(ByVal List As TElStringList)
    Sub RemoveFiles(ByVal List As String[])

[Pascal]
    procedure RemoveFiles(const Path, Mask : string; CaseSensitive : boolean; Recursive : boolean);
    procedure RemoveFiles(List : TStringList);

[C++]
    void RemoveFiles(const std::string &Path, const std::string &Mask, bool CaseSensitive, bool Recursive);
    void RemoveFiles(TStrings &List);
    void RemoveFiles(TStrings *List);

[PHP]
    void RemoveFiles(string $Path, string $Mask, bool $CaseSensitive, bool $Recursive)
    void RemoveFiles(TStrings $List)

Parameters

  • Path - path to search for files to be deleted.
  • Mask - the mask to match the files.
  • CaseSensitive - specifies whether filename matching [to mask] is case-sensitive.
  • Recursive - specifies if the subdirectories should also be scanned for matching files.
  • List - contains the list of files to be deleted.

Description

    Use this method to recursively remove files or directories.

See also:     RemoveDir     RemoveFile    

Discuss this help topic in SecureBlackbox Forum