Skip to content

yifan-ivan/FileSynchronizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileSynchronizer

中文

A simple app to sync files between two devices.

Requirements

Install the following python libraries:

  • watchdog
  • pyftpdlib

You can also use pip install -r requirements.txt to install all the requirements.

Client

Config file

Defult value:

files:
  - "test.txt"

server_ip: 127.0.0.1
server_port: 21
user_name: "admin"
password: "123456"
  • files: The file need to be synchronized.
  • server_ip: Server IP
  • user_name: Username of the FTP Server
  • password: Password of the FTP Server

Usage

Put client.py and client.yml in a folder, run client.py.

Server

Config file

Defult value:

user_name: "admin"
password: "123456"
port: 21

storage_path: "./files"
  • user_name: Username of the FTP Server
  • password: Password of the FTP Server
  • port: The port of the FTP Server
  • storage_path: The path for the storage

Useage

put server.py and server.yml in a folder, run server.py,make sure the port is not occupied.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages