ssh2
dependencyonStdout
, onStderr
to exec{,Command}
put{Files,Directory}
methodsputDirectory
execCommand
mkdirp
in favor of homegrown solution to fix compatibility with SSH servers running on Windowsssh2.exec
opts
support in getFile
, putFile
, putFiles
and putDirectory
config.sock
.getFile
parameters were reversed. Published as a major change because it is API breakingmkdir
maxAtOnce
in putFiles()
.putDirectory()
wouldn't convert paths properly ( Thanks @lanxenet )Confidently, this is the most stable version of this module to date :tada:
.end
to .dispose
.get
to .getFile
.put
to .putFile
.putMulti
to .putFiles
.putDirectory
function to copy entire directories.getFile
parameters.putFiles
cd
when cwd
is supplied but it does not exist.putFiles
(ie. lowercase the props, from Local to local and from Remote to remote)cwd
parameter.get
's promise never resolvingstdin
support in .exec
and .execCommand
code
and signal
in .execCommand
if stream
is set to both
and in .exec
.exec
to .execCommand
.connect
instead of constructor.exec
method that formats given parameters automatically.get
because we already write it to a file