PowerTCP SSH and SFTP for .NET
CreateDirectory Method




The absolute or relative (to WorkingDirectory) path of the directory to be created.
The permissions for this directory, e.g., "0700" (which must be given as 0x1c0 - C# does not support constants in octal notation).
Creates a new directory.
Syntax
'Declaration
 
Public Sub CreateDirectory( _
   ByVal path As String, _
   ByVal posixPermissions As Integer _
) 
'Usage
 
Dim instance As Sftp
Dim path As String
Dim posixPermissions As Integer
 
instance.CreateDirectory(path, posixPermissions)
public void CreateDirectory( 
   string path,
   int posixPermissions
)
public: void CreateDirectory( 
   string* path,
   int posixPermissions
) 
public:
void CreateDirectory( 
   String^ path,
   int posixPermissions
) 

Parameters

path
The absolute or relative (to WorkingDirectory) path of the directory to be created.
posixPermissions
The permissions for this directory, e.g., "0700" (which must be given as 0x1c0 - C# does not support constants in octal notation).
See Also

Reference

Sftp Class
Sftp Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic