Skip to content

Function: upload() ​

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

Uploads a local file or directory with the shared client.

Parameters ​

ParameterType
srcstring
deststring
callback?Scp2Callback

Returns ​

Promise<void> | undefined

Released under the MIT License.