Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ftp-upload

This script is designed to monitor a specific folder and upload any new files to an FTP server at regular intervals.

It's particularly useful for mirroring new files from Chia DataLayer™ to a personal server.

To use this script, ensure you create a .env file with the necessary configurations.

FTP_HOST="ftp.example.com"
FTP_USER="ftpuser"
FTP_PASS="ftppassword"
LOCAL_FOLDER="/path/to/.chia/mainnet/data_layer/db/server_files_location_mainnet/"
REMOTE_FOLDER="/path/to/mirror/"
SLEEP_INTERVAL=600

Installation

python3 -m venv venv
ln -s venv/bin/activate .
. ./activate
pip install -r requirements.txt

Usage

python3 file_check.py

Chia DataLayer™

Chia DataLayer - True Data Integrity On a Blockchain

DataLayer User Guide

Chia DataLayer™️ Explainer | Chia Network

About

Simple ftp upload script

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages