Project home
API overview
GitHub
npm package
Theme
System
Light
Dark
scp-next
Preparing search index...
ScpNextClient
Interface ScpNextClient
interface
ScpNextClient
{
close
()
:
Promise
<
void
>
;
connect
()
:
Promise
<
void
>
;
download
(
remotePath
:
string
,
localPath
:
string
,
options
?:
TransferOptions
,
)
:
Promise
<
void
>
;
exec
(
command
:
string
,
options
?:
ExecOptions
)
:
Promise
<
ExecResult
>
;
upload
(
localPath
:
string
,
remotePath
:
string
,
options
?:
TransferOptions
,
)
:
Promise
<
ExecResult
[]
>
;
}
Implemented by
ScpNextClientImpl
Index
Methods
close
connect
download
exec
upload
Methods
close
close
()
:
Promise
<
void
>
Returns
Promise
<
void
>
connect
connect
()
:
Promise
<
void
>
Returns
Promise
<
void
>
download
download
(
remotePath
:
string
,
localPath
:
string
,
options
?:
TransferOptions
,
)
:
Promise
<
void
>
Parameters
remotePath
:
string
localPath
:
string
Optional
options
:
TransferOptions
Returns
Promise
<
void
>
exec
exec
(
command
:
string
,
options
?:
ExecOptions
)
:
Promise
<
ExecResult
>
Parameters
command
:
string
Optional
options
:
ExecOptions
Returns
Promise
<
ExecResult
>
upload
upload
(
localPath
:
string
,
remotePath
:
string
,
options
?:
TransferOptions
,
)
:
Promise
<
ExecResult
[]
>
Parameters
localPath
:
string
remotePath
:
string
Optional
options
:
TransferOptions
Returns
Promise
<
ExecResult
[]
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
close
connect
download
exec
upload
scp-next
Loading...