Sftp.CreateLinkAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9083)
CreateLinkAsync(String, String, LinkType, Object)
Begins asynchronous CreateLink operation. Creates a symbolic link or hard link on the server.
Declaration
public Task CreateLinkAsync(string newLinkPath, string existingPath, LinkType linkType, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | newLinkPath | Remote path name of the newly-created link. |
String | existingPath | Remote path name of an existing item. |
LinkType | linkType | Link type. Hard link creation requires 'hardlink@openssh.com' extension support. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task |