Table of Contents

Class SshTransferProtocolBase

Namespace
Tamir.SharpSsh
Assembly
SLSSH.dll

Base class for transfer protocols using SSH.

public abstract class SshTransferProtocolBase : SshBase, ITransferProtocol
Inheritance
SshTransferProtocolBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

SshTransferProtocolBase(string, string)

Initializes a new instance of the SshTransferProtocolBase class using the host and username.

SshTransferProtocolBase(string, string, string)

Initializes a new instance of the SshTransferProtocolBase class using the host, username and password.

Methods

Cancel()

Cancels the operation.

Get(string, string)

Copies the specified file from the SFTP server to the specified destination directory.

Mkdir(string)

Creates the specified directory.

Put(string, string)

Copies the specified file to the specified directory on the SFTP server.

Events

OnTransferEnd

Occurs when the transfer ends.

OnTransferProgress

Occurs when the transfer progress updates.

OnTransferStart

Occurs when the transfer starts.