Skip to content

Function: download() ​

ts
function download(
   src, 
   dest, 
   callback?
): Promise<void> | undefined;

Downloads a remote file or directory with the shared client.

Parameters ​

ParameterType
srcstring
deststring
callback?Scp2Callback

Returns ​

Promise<void> | undefined

Released under the MIT License.