Project home
API overview
GitHub
npm package
Theme
System
Light
Dark
scp-next
Preparing search index...
ScpNextClientImpl
Class ScpNextClientImpl
Implements
ScpNextClient
Index
Constructors
constructor
Methods
close
connect
download
exec
upload
Constructors
constructor
new
ScpNextClientImpl
(
serverOptions
:
ScpServerOptions
,
dependencies
?:
ScpNextClientDependencies
,
)
:
ScpNextClientImpl
Parameters
serverOptions
:
ScpServerOptions
dependencies
:
ScpNextClientDependencies
= {}
Returns
ScpNextClientImpl
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
options
:
TransferOptions
= {}
Returns
Promise
<
void
>
exec
exec
(
command
:
string
,
options
?:
ExecOptions
)
:
Promise
<
ExecResult
>
Parameters
command
:
string
options
:
ExecOptions
= {}
Returns
Promise
<
ExecResult
>
upload
upload
(
localPath
:
string
,
remotePath
:
string
,
options
?:
TransferOptions
,
)
:
Promise
<
ExecResult
[]
>
Parameters
localPath
:
string
remotePath
:
string
options
:
TransferOptions
= {}
Returns
Promise
<
ExecResult
[]
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
close
connect
download
exec
upload
scp-next
Loading...