https://github.com/buggyzap/ftp-transfer-watcher
Send files trough FTP with an easy to use tool, it watch changes in a given source, copy files via FTP, then copy locally and deletes!
https://github.com/buggyzap/ftp-transfer-watcher
ftp ftp-watcher
Last synced: 3 months ago
JSON representation
Send files trough FTP with an easy to use tool, it watch changes in a given source, copy files via FTP, then copy locally and deletes!
- Host: GitHub
- URL: https://github.com/buggyzap/ftp-transfer-watcher
- Owner: buggyzap
- Created: 2022-11-01T01:57:54.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-02T15:25:15.000Z (over 2 years ago)
- Last Synced: 2025-02-16T13:46:20.997Z (4 months ago)
- Topics: ftp, ftp-watcher
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 . --watch
```## Use 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 . --watch` or run `npx . --install_service` to install a Windows Service (automatically start with OS)
- After any changes in `source` directory, files has been transferred to FTP and copied to local backup## Commands
- `npx . --config`: Start configuration Wizard and create config.js
- `npx . --install_service`: Install Windows Service
- `npx . --uninstall_service`: Uninstall Windows Service
- `npx . --watch` : Start watcher