1.1.4 • Published 3 years ago
ftp-transfer-watcher v1.1.4
ftp-transfer-watcher
A module that let you create a daemon watcher that listen changes in given directory ( after wizard configuration ), create a files backup, transfer to given FTP and delete.
Requirements
This package require node.js 14.x or higher and Git ( or you have to download source manually )
How to install
git clone https://github.com/buggyzap/ftp-transfer-watcher.git; cd ftp-transfer-watcher; npm install;
# config
npx . --config
# start watcher
npx . --watchUse cases
Any thirdy part integrations that require a file synchronization between local computer and server, or server to server.
Workflow
- Start configuration Wizard with
npx . --config - Start manually with
npx . --watchor runnpx . --install_serviceto install a Windows Service (automatically start with OS) - After any changes in
sourcedirectory, files has been transferred to FTP and copied to local backup
Commands
npx . --config: Start configuration Wizard and create config.jsnpx . --install_service: Install Windows Servicenpx . --uninstall_service: Uninstall Windows Servicenpx . --watch: Start watcher