SftpClient.hardlink
SftpOperation!bool hardlink(const(ubyte)[] oldPath,
const(ubyte)[] newPath)Creates a hard link through hardlink@openssh.com version 1.
Parameters
oldPath | Existing file path bytes. |
newPath | Link path bytes to create. |
Returns
An operation completed by the server status response.
Throws
SftpException when the extension is not advertised or
its version is not 1.