Skip to content

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!

Notifications You must be signed in to change notification settings

buggyzap/ftp-transfer-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published