Table of Contents

Method Get

Namespace
Tamir.SharpSsh
Assembly
SLSSH.dll

Get(string)

Copies the specified file from the SFTP server.

public void Get(string fromFilePath)

Parameters

fromFilePath string

The file to copy.

Exceptions

SftpException

Get(string[])

Copies the specified files from the SFTP server.

public void Get(string[] fromFilePaths)

Parameters

fromFilePaths string[]

The files to copy.

Exceptions

SftpException

Get(string[], string)

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

public void Get(string[] fromFilePaths, string toDirPath)

Parameters

fromFilePaths string[]

The files to copy.

toDirPath string

The destination directory.

Exceptions

SftpException

Get(string, string)

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

public override void Get(string fromFilePath, string toFilePath)

Parameters

fromFilePath string

The file to retrieve.

toFilePath string

The destination directory.

Exceptions

SftpException