Sftp.CreateLink Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9313)
CreateLink(String, String, LinkType)
Creates a symbolic link or hard link on the server.
Declaration
public void CreateLink(string newLinkPath, string existingPath, LinkType linkType)
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.  |