ISftpSession
Represents an SFTP session.
Gets the SFTP protocol version.
Gets the remote working directory.
Performs SSH_FXP_CLOSE request.
Performs SSH_FXP_LSTAT request.
Performs SSH_FXP_OPEN request.
SftpReadAsyncResult BeginRead(byte[] handle, ulong offset, uint length, AsyncCallback callback, object state)
Begins an asynchronous read using a SSH_FXP_READ request.
Performs SSH_FXP_REALPATH request.
Performs SSH_FXP_STAT request.
Calculates the optimal size of the buffer to read data from the channel.
Calculates the optimal size of the buffer to write data on the channel.
Changes the current working directory to the specified path.
Asynchronously requests to change the current working directory to the specified path.
ISftpFileReader CreateFileReader(byte[] handle, ISftpSession sftpSession, uint chunkSize, int maxPendingReads, long? fileSize)
Creates an ISftpFileReader for reading the content of the file represented by a given handle.
Handles the end of an asynchronous close.
Handles the end of an asynchronous SSH_FXP_LSTAT request.
Handles the end of an asynchronous read.
Handles the end of an asynchronous read.
Handles the end of an asynchronous SSH_FXP_REALPATH request.
Handles the end of an asynchronous read.
Resolves a given path into an absolute path on the server.
Asynchronously resolves a given path into an absolute path on the server.
Performs a SSH_FXP_CLOSE request.
Performs a SSH_FXP_CLOSE request.
Performs SSH_FXP_FSETSTAT request.
Asynchronously performs a SSH_FXP_FSTAT request.
Asynchronously performs a SSH_FXP_FSTAT request.
Performs SSH_FXP_LSTAT request.
Asynchronously performs SSH_FXP_LSTAT request.
Performs SSH_FXP_MKDIR request.
Asynchronously performs SSH_FXP_MKDIR request.
Performs a SSH_FXP_OPEN request.
Asynchronously performs a SSH_FXP_OPEN request.
Performs a SSH_FXP_OPENDIR request.
Asynchronously performs a SSH_FXP_OPENDIR request.
Performs posix-rename@openssh.com extended request.
Performs SSH_FXP_READ request.
Task<byte[]> RequestReadAsync(byte[] handle, ulong offset, uint length, CancellationToken cancellationToken)
Asynchronously performs a SSH_FXP_READ request.
Performs a SSH_FXP_READDIR request.
Task<KeyValuePair<string, SftpFileAttributes>[]> RequestReadDirAsync(byte[] handle, CancellationToken cancellationToken)
Performs a SSH_FXP_READDIR request.
Performs a SSH_FXP_REMOVE request.
Asynchronously performs a SSH_FXP_REMOVE request.
Performs a SSH_FXP_RENAME request.
Asynchronously performs a SSH_FXP_RENAME request.
Performs SSH_FXP_RMDIR request.
Asynchronously performs an SSH_FXP_RMDIR request.
Performs SSH_FXP_SETSTAT request.
Performs SSH_FXP_STAT request.
Performs a statvfs@openssh.com extended request.
Task<SftpFileSystemInformation> RequestStatVfsAsync(string path, CancellationToken cancellationToken)
Asynchronously performs a statvfs@openssh.com extended request.
Performs SSH_FXP_SYMLINK request.
void RequestWrite(byte[] handle, ulong serverOffset, byte[] data, int offset, int length, AutoResetEvent wait, Action<SftpStatusResponse> writeCompleted = null)
Performs SSH_FXP_WRITE request.
Task RequestWriteAsync(byte[] handle, ulong serverOffset, byte[] data, int offset, int length, CancellationToken cancellationToken)
Asynchronouly performs a SSH_FXP_WRITE request.