Discuss this help topic in SecureBlackbox Forum


TElSftpClient     See also     

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

Removes the directory on a server side.


    bool RemoveDirectory(string Path);

    Function RemoveDirectory(ByVal Path As String) As Boolean

    function RemoveDirectory(Path : string): Boolean;
    procedure RemoveDirectorySync(const Path: string);

    bool RemoveDirectory(const std::string &Path);

    bool RemoveDirectory(string $Path)

    boolean removeDirectory(String Path);


  • Path - path to directory to be removed

Return value

    True if operation was completed successfully;
    False otherwise.


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

See also:     MakeDirectory     OpenDirectory    

Discuss this help topic in SecureBlackbox Forum