- Add support for SFTP - thanks @der-On
- tidier errors when connect fails
- If delete does not work, try to continue anyway
- Fix a bug some experienced uploaded to "/"
- Return result of process at end of run
- Bugfix: transfered file count
- remove console logs in favour of 'log' events
- AFix a bug for windows users
- Add delete destination before commencing uploads
- complete rewrite using promises
- switch from jsftp to ftp-srv
- breaks continueOnError
- config must now include an include field with non-empty value. E.g. use ['*', '**/*'] for all files
- format using prettier
- adds tests
- Adds an optional config.include which supersedes any exclusion rules.
- Linting code cleanup via xo style/tool
- refactored for (hopefully) easier to understand code
- brought jsftp to 1.3.x, async to 0.9.x
- removed relative path from uploading/uploaded event data. (filename contains file name and partial path)
- added prompting user for FTP password if none given in config
- added optional ```continueOnError``` config. When set to true, ftp-deploy continues to upload files after a failed put. When not specified or set to false, the ```.deploy()``` callback is called immediately after a failed put.
- added ```upload-error``` event
- removed ```stopOnError``` config setting in preference of ```continueOnError```
- upgraded jsftp from 0.6.x to 1.2.x
- Added ```stopOnError``` to configuration.
- added ```error``` event.
- deprecated paralleluploads config setting (no longer supported by jsftp)
- uploading and uploaded events emit data instead of a relative file path.
- New config setting ```exclude``` can be used to exclude folders/files from the ftp deploy process
- Requiring ftp-deploy returns the FtpDeploy object, and you will need to instantiate is separately on your own.
- New config setting ```paralleluploads```: sets number of parallelUploads (within a specific folder)
- ftpDeploy instance has properties ```transferred``` and ```total```. Useful for determining progress based on file count.