Granados.Poderosa.SFTP.SFTPClient.RemoveFile C# (CSharp) Метод

RemoveFile() публичный Метод

Remove file.
Operation failed. Timeout has occured. Invalid status An exception which was thrown while processing the response.
public RemoveFile ( string path ) : void
path string File path to remove.
Результат void
        public void RemoveFile(string path)
        {
            CheckStatus();

            uint requestId = ++_requestId;

            byte[] pathData = _encoding.GetBytes(path);
            SFTPPacket packet =
                new SFTPPacket(SFTPPacketType.SSH_FXP_REMOVE)
                    .WriteUInt32(requestId)
                    .WriteAsString(pathData);

            TransmitPacketAndWaitForStatusOK(requestId, packet);
        }