Discuss this help topic in SecureBlackbox Forum


TElSftpClient     See also     

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

Removes the file on a server side.


    bool RemoveFile(string Filename);

    Function RemoveFile(ByVal Filename As String) As Boolean

    function RemoveFile(Filename : string): Boolean;
    procedure RemoveFileSync(const Filename: string);

    bool RemoveFile(const std::string &Filename);

    bool RemoveFile(string $Filename)

    boolean removeFile(String Filename);


  • Filename - the full name of the file to be removed.

Return value

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


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

See also:     RemoveFiles     CreateFile     RenameFile    

Discuss this help topic in SecureBlackbox Forum