link method
Creates a symbolic link at targetPath
that points to linkPath
.
Implementation
Future<void> link(String linkPath, String targetPath) async {
final reply = await _sendSymlink(linkPath, targetPath);
if (reply is! SftpStatusPacket) throw SftpError('Unexpected reply');
SftpStatusError.check(reply);
}