- Fix a bug where
.getFile
parameters were reversed. Published as a major change because it is API breaking
- Implement sftp-backed
mkdir
- Implement
maxAtOnce
inputFiles()
- Fix a bug for windows users where
.putDirectory()
wouldn't convert paths properly ( Thanks @lanxenet )
Confidently, this is the most stable version of this module to date 🎉
- Rename
.end
to.dispose
- Rename
.get
to.getFile
- Rename
.put
to.putFile
- Rename
.putMulti
to.putFiles
- Add
.putDirectory
function to copy entire directories - Change order of
.getFile
parameters - Extended parameter validation in
.putFiles
- Close SFTP connections after they are used
- Hide errors from
cd
whencwd
is supplied but it does not exist - Do not throw sync errors in async functions, return a rejected promise instead
- Propagate the private key read error if it's not ENOENT (ie. permissions issue)
- Changed the signature of input in
.putFiles
(ie. lowercase the props, from Local to local and from Remote to remote)
- Escape
cwd
parameter - Escape shell parameters
- Fix more typos
- Fix
.get
's promise never resolving
- Fix some typos
- Fix
stdin
support in.exec
and.execCommand
- Return
code
andsignal
in.execCommand
ifstream
is set toboth
and in.exec
- Fix a publishing issue
- Fix method name in README
- Stricter validation of config
- Rewrite from CoffeeScript to JS
- Rename
.exec
to.execCommand
- Accept config in
.connect
instead of constructor - Add new
.exec
method that formats given parameters automatically - Do not return file contents in
.get
because we already write it to a file
- Initial release