Discuss this help topic in SecureBlackbox Forum


TElSftpClient     See also     

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

Creates the new directory on a server side.


    bool MakeDirectory(string Path, TElSftpFileAttributes Attributes);

    Function MakeDirectory(ByVal Path As String, ByVal Attributes As TElSftpFileAttributes) As Boolean

    function MakeDirectory(Path : string; Attributes : TElSftpFileAttributes): Boolean;
    procedure MakeDirectorySync(const Path: string; Attributes: TElSftpFileAttributes);

    bool MakeDirectory(const std::string &Path, TElSftpFileAttributes &Attributes);
    bool MakeDirectory(const std::string &Path, TElSftpFileAttributes *Attributes);

    bool MakeDirectory(string $Path, TElSftpFileAttributes $Attributes)

    boolean makeDirectory(String Path, TElSftpFileAttributes Attributes);


  • Path - specifies the path to a newly created directory
  • Attributes - contains information about new directory attributes

Return value

    True if operation was completed successfully;
    False otherwise.


    Use this method to create directories on a server side. If the directory was successfully created, the OnSuccess event is fired. The OnError event is fired otherwise.

See also:     CreateFile     OpenDirectory     ReadDirectory     RemoveDirectory    

Discuss this help topic in SecureBlackbox Forum