Search
Preparing search index...
The search index is not available
vs-deploy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"plugins/ftp"
JsFTPClient
Class JsFTPClient
Hierarchy
FtpClientBase
JsFTPClient
Index
Constructors
constructor
Properties
_connection
_context
Accessors
connection
context
Methods
connect
cwd
end
execute
execute
Commands
get
get
File
Info
mkdir
put
Constructors
constructor
new
JsFTPClient
(
context
:
DeployContext
)
:
JsFTPClient
Parameters
context:
DeployContext
Returns
JsFTPClient
Properties
Protected
_connection
_connection
:
any
Protected
_context
_context
:
DeployContext
Accessors
connection
get
connection
(
)
:
any
Returns
any
context
get
context
(
)
:
DeployContext
Returns
DeployContext
Methods
connect
connect
(
target
:
DeployTargetFTP
)
:
Promise
<
boolean
>
Parameters
target:
DeployTargetFTP
Returns
Promise
<
boolean
>
cwd
cwd
(
dir
:
string
)
:
Promise
<
string
>
Parameters
dir:
string
Returns
Promise
<
string
>
end
end
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
execute
execute
(
cmd
:
string
)
:
Promise
<
any
>
Parameters
cmd:
string
Returns
Promise
<
any
>
execute
Commands
execute
Commands
(
commands
:
FTPCommands
, values
?:
ValueBase
|
ValueBase
[]
)
:
Promise
<
any
>
Parameters
commands:
FTPCommands
Optional
values:
ValueBase
|
ValueBase
[]
Returns
Promise
<
any
>
get
get
(
file
:
string
)
:
Promise
<
Buffer
>
Parameters
file:
string
Returns
Promise
<
Buffer
>
get
File
Info
get
File
Info
(
file
:
string
)
:
Promise
<
FileInfo
>
Parameters
file:
string
Returns
Promise
<
FileInfo
>
mkdir
mkdir
(
dir
:
string
)
:
Promise
<
string
>
Parameters
dir:
string
Returns
Promise
<
string
>
put
put
(
file
:
string
, data
:
Buffer
)
:
Promise
<
Buffer
>
Parameters
file:
string
data:
Buffer
Returns
Promise
<
Buffer
>
Globals
"plugins/ftp"
Ftp
Client
Ftp
Client
Base
Ftp
Plugin
JsFTPClient
constructor
_connection
_context
connection
context
connect
cwd
end
execute
execute
Commands
get
get
File
Info
mkdir
put
Deploy
TargetFTP
FTPContext
FTPCommands
FTP_
FULL_
TIME_
FORMAT
FTP_
TIME_
FORMAT
MODE_
PAD
Parse
Listening
TARGET_
CACHE_
PASSWORD
jsFTP
append
Time
Values
create
Plugin
get
Dir
From
Target
toFTPPath
Generated using
TypeDoc