Skip to content

nsuite v2.2.1


nsuite / sshGetFile

Function: sshGetFile() ​

sshGetFile(payload): Promise<void>

Defined in: UtilsSSH.ts:203

Downloads one remote file through SFTP.

Parameters ​

payload ​

ParamsSSHGetFile

The connected client, source, destination, and SFTP options.

Returns ​

Promise<void>

A promise that resolves when the file is written locally.

Released under the Apache-2.0 License.