Discuss this help topic in SecureBlackbox Forum

TElSftpClient.RemoveFiles

TElSftpClient     See also     


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


Removes a list of files on a server side.

Declaration

[C#]
    bool RemoveFiles(TElStringList Filenames);

[VB.NET]
    Function RemoveFiles(ByVal Filenames As TElStringList) As Boolean

[Pascal]
    function RemoveFiles(Filenames : TStrings): Boolean;
    procedure RemoveFilesSync(const Filenames: TStrings);

[C++]
    bool RemoveFiles(TStrings &Filenames);
    bool RemoveFiles(TStrings *Filenames);

[PHP]
    bool RemoveFiles(TStrings $Filenames)

[Java]
    boolean removeFiles(TElStringList Filenames);

Parameters

  • Filenames - list of files to be removed

Return value

    Returns True if operation was completed successfully, and False otherwise.

Description

    Use this method to delete the specified files. If the file was successfully deleted, the OnSuccess event is fired. The OnError event is fired otherwise.

See also:     RemoveFile     CreateFile     RenameFile    

Discuss this help topic in SecureBlackbox Forum