setStat method
Sets the attributes of the file at path
.
Implementation
Future<void> setStat(String path, SftpFileAttrs attrs) async {
final reply = await _sendSetStat(path, attrs);
if (reply is! SftpStatusPacket) throw SftpError('Unexpected reply');
SftpStatusError.check(reply);
}