You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of the ability to register custom protocols, this interface consists only of generic options. If you want to use interface
for ftp protocols, check this.
The text was updated successfully, but these errors were encountered:
This is a guide for migrating to
v4.0.0
. This version introduces a lot of breaking changes sincev2.6.0
.Documentation:
v4.x.y
v2.6.0
Breaking changes
Client
Client.abort()
Client.abortTransfer()
.Client.connect(config, options)
Client.connected
Client.createBlank()
Client.delete()
`Client.download(remotePath, dest, options)
dest
andremotePath
arguments.options
tostartAt
(number).Client.isSftp
Client.mkdir()
Client.createFolder
.Client.protocol
Client.config.protocol
.Client.readDir()
Client.list
.Client.rimraf()
Client.removeFolder
.Client.stat()
Client.touch()
Client.createEmptyFile
.Client.unlink()
Client.removeFile
.`Client.upload(remotePath, source, options)
source
andremotePath
arguments.options
argument.Event
connected
connect
.Event
disconnected
disconnect
. Emitted everytime a connection is closed.Event
abort
transfer-abort
. Emitted everytime some transfers are aborted.Event
progress
transfer-progress
. See listener options.ConcurrentClient
options
toClient.constructor
.Interface
IConfig
for ftp protocols, check this.
The text was updated successfully, but these errors were encountered: