Discuss this help topic in SecureBlackbox Forum

TElSftpClient.RemoveFiles

TElSftpClient     See also     


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


Removes a list of files on a server side.

Declaration

[C#/Java]
    bool RemoveFiles(ElStringList Filenames);
    void RemoveFilesSync(ElStringList Filenames);

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

[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)

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