Skip to content

Windows tray app (PowerShell) to monitor and control FTP sync with Telegram notifications.

Notifications You must be signed in to change notification settings

mrfpinto/FTP-Live-Sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FTP Sync Tray Monitor

A lightweight Windows tray application written in PowerShell to monitor and control an FTP-based synchronization workflow, with optional Telegram notifications.

The application provides real-time visibility over an FTP sync process without requiring open terminals, background services, or complex infrastructure.


✨ Features

  • Windows tray application (no console window)
  • Start / stop FTP synchronization worker
  • Real-time folder and file monitoring
  • FTP connectivity and latency checks
  • Hourly status reporting
  • Telegram notifications (optional)
  • Telegram command support (/status)
  • Non-blocking background polling
  • Persistent, file-based configuration
  • Safe startup defaults (all features disabled)

🧩 Components

Component Description
ftp-sync-tray.ps1 Tray UI, timers, status aggregation
ftp-sync-worker.ps1 Background FTP sync worker
mobile-notify.ps1 Telegram notification module
mobile-config.json Telegram configuration and state

πŸ“Š Monitored information

The application tracks and reports:

  • Sync service state (ON / OFF)
  • FTP connectivity status
  • FTP latency
  • Number of folders in the monitored root
  • Most recent folder
  • Number of files in the most recent folder

This information is available via:

  • Tray tooltip
  • Application UI panel
  • Telegram notifications

πŸ“‘ Telegram integration

When enabled, Telegram integration provides:

  • Notifications for:
    • Sync start / stop
    • FTP connectivity issues
    • Hourly system status
  • Support for the /status command
  • Chat ID filtering for command security
  • Persistent state across restarts

Telegram notifications are disabled by default on startup.


βš™ Configuration

All configuration details are documented in a separate file:

➑️ CONFIGURATION.md

This includes:

  • FTP settings
  • Local paths
  • Timers and polling intervals
  • Telegram bot setup
  • Notification behavior

πŸš€ Running the application

powershell -NoProfile -ExecutionPolicy Bypass -STA -WindowStyle Hidden -File "ftp-sync-tray.ps1"

About

Windows tray app (PowerShell) to monitor and control FTP sync with Telegram notifications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published