SSH.SFTPSession.CreateSymbolicLink - charonn0/RB-libssh2 GitHub Wiki
SSH.SFTPSession.CreateSymbolicLink
Method Signature
Function CreateSymbolicLink(Path As String, Link As String) As Boolean
Parameters
| Name | Type | Comment |
|---|---|---|
Path |
String | The path of the file or directory being linked to. |
Link |
String | The path of the link to create. |
Return value
Returns True if the symlink was created.
Remarks
This method creates a new symlink from Link to Path. If the Path is a directory then it must end with "/", however the Link must not.