public SetAttributes ( string path, SftpFileAttributes fileAttributes ) : void | ||
path | string | The path to the file. |
fileAttributes | SftpFileAttributes | The desired |
return | void |
public override void SetModifiedTime(SyncQueueItem i, DateTime time) { var attr = _sftpc.GetAttributes(i.CommonPath); attr.LastWriteTime = time; _sftpc.SetAttributes(i.CommonPath, attr); }