Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.MakeDirectory

TElSimpleSFTPClient     See also     


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


Creates the new directory on a server side.

Declaration

[C#]
    void MakeDirectory(string Path, TElSftpFileAttributes Attributes);

[VB.NET]
    Sub MakeDirectory(ByVal Path As String, ByVal Attributes As TElSftpFileAttributes)

[Pascal]
    procedure MakeDirectory(const Path : string; Attributes : TElSftpFileAttributes);

[C++]
    void MakeDirectory(const std::string &Path, TElSftpFileAttributes &Attributes);
    void MakeDirectory(const std::string &Path, TElSftpFileAttributes *Attributes);

[PHP]
    void MakeDirectory(string $Path, TElSftpFileAttributes $Attributes)

[Java]
    void makeDirectory(String Path, TElSftpFileAttributes Attributes);

Parameters

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

Description

    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