flow-sftp

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2023 License: MIT Imports: 8 Imported by: 0

README

🌊 Flow SFTP

Flow SFTP can watch a directory for new files and upload them to a remote SFTP host in near real time.

(Written in Go)

🪶 Features

  • Copy new files almost in real time.
  • Configurable via a yaml config file.
  • Clear backlog files.
  • Backup files to a separate directory.

⚙️ Configuration

flow:
  source: "/path/to/directory/" # Path to the directory you want to watch for
  backupDir: "/path/to/directory/" # Path to your backup directory 
  enableBackups: false # Enable/Disable backups
  clearBacklog: false # Enable/Disable backlog clear. It is recomended to keep this disabled if backup is not enabled.

sftp:
  host: "" # Remote SFTP Host Name/IP
  port: 22 # Remote SFTP Host Port 
  user: "srivin" # Remote SFTP User
  privateKey: "/path/to/file" # SSH Private Key file path 
  remotePath: "/path/to/directory/" # Destination directory in the remote SFTP host

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL