Skip to content
Little ftp-sync script using lftp
Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
LICENSE
README.md
sync.sh

README.md

Overview

This is a little ftp-sync script using LFTP.
LFTP is a sophisticated ftp/http client, and a file transfer program supporting a number of network protocols.

Repository Files

  • .gitignore - ignore rules to tell git what files to ignore
  • sync.sh - sync script

Installation

  • clone/or fork the project
  • install lftp e.g. brew install lftp on a Mac or the likes
  • create a file called sync.cfg. touch sync.cfg.
  • add the following information vim sync.cfg

ftp_host=your.ftp.com
ftp_user=user123
ftp_password=password123
dir_local=/your/local/dir
dir_remote=/your/remote/dir

  • execute the shell script e.g. ./sync.sh

Fixes and next steps

Something went wrong with that request. Please try again.