Table of Contents

Interface ITransferProtocol

Namespace
Tamir.SharpSsh
Assembly
SLSSH.dll

SSH based transfer protocol interface.

public interface ITransferProtocol
Extension Methods

Methods

Cancel()

Cancels the operation.

Close()

Closes the connection.

Connect()

Connects with the server on the default port (22).

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.