Discuss this help topic in SecureBlackbox Forum


TElSimpleSFTPClient     See also     

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

Creates the new directory on a server side.


    void MakeDirectory(string Path, TElSftpFileAttributes Attributes);

    Sub MakeDirectory(ByVal Path As String, ByVal Attributes As TElSftpFileAttributes)

    procedure MakeDirectory(const Path: string; Attributes: TElSftpFileAttributes);

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

    void MakeDirectory(string $Path, TElSftpFileAttributes $Attributes)


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


    Use this method to create directories on a server side.
    In case of error, EElSFTPError exception containing SFTP error code, is raised. For more information on error handling, please read the corresponding how-to article.

See also:     CreateFile     OpenDirectory     ReadDirectory     RemoveDirectory    

Discuss this help topic in SecureBlackbox Forum