| 123456789101112131415161718192021222324252627282930313233 | using System;using Renci.SshNet.Sftp.Responses;namespace Renci.SshNet.Sftp.Requests{    internal class StatVfsRequest : SftpExtendedRequest    {        public override SftpMessageTypes SftpMessageType        {            get { return SftpMessageTypes.Extended; }        }        public override string Name        {            get { return "statvfs@openssh.com"; }        }        public string Path { get; private set; }        public StatVfsRequest(uint protocolVersion, uint requestId, string path, Action<SftpExtendedReplyResponse> extendedAction, Action<SftpStatusResponse> statusAction)            : base(protocolVersion, requestId, statusAction)        {            this.Path = path;            this.SetAction(extendedAction);        }        protected override void SaveData()        {            base.SaveData();            this.Write(this.Path);        }    }}
 |