SftpClient.hardlink

SftpOperation!bool hardlink(const(ubyte)[] oldPath, const(ubyte)[] newPath)

Creates a hard link through hardlink@openssh.com version 1.

Parameters

oldPathExisting file path bytes.
newPathLink 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.