Creates a symbolic link or hard link on the server.
Namespace:
Rebex.Net
Assembly:
Rebex.Sftp (in Rebex.Sftp.dll)
Syntax
Visual Basic |
---|
Public Sub CreateLink ( _ newLinkPath As String, _ existingPath As String, _ linkType As LinkType _ ) |
C# |
---|
public void CreateLink( string newLinkPath, string existingPath, LinkType linkType ) |
Parameters
- newLinkPath
- Type: System..::..String
Remote path name of the newly-created link.
- existingPath
- Type: System..::..String
Remote path name of an existing item.
- linkType
- Type: Rebex.IO..::..LinkType
Link type. Hard link creation requires 'hardlink@openssh.com' extension support.