Sftp.CreateDirectoryAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9083)
CreateDirectoryAsync(String, Object)
Begins asynchronous CreateDirectory operation. Creates a directory on the server.
Declaration
public Task<string> CreateDirectoryAsync(string remotePath, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | Pathname of the new remote directory. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<String> | A string containing the absolute path of the newly created remote directory. |