SimpleFTPSync Plugin
Overview
SimpleFTPSync is a Bukkit/Spigot plugin designed for easy and flexible synchronization of folders using either FTP, SFTP or FTPS protocols. This plugin allows you to synchronize specific folders on your server with remote servers, providing a convenient way to manage and update content.
USAGE
Installation
- Download the latest release JAR
- Place the downloaded JAR file in the plugins folder of your Bukkit/Spigot server.
- Start or restart your server.
Configuration
- Navigate to the plugins folder and find the SimpleFTPSync folder.
- Open the config.yml file to configure synchronization settings.
Configuration Options
- sync-interval: Synchronization interval in seconds.
- local-path: Path to the local folder you want to synchronize.
- sync-type: Synchronization type (FTP, SFTP or FTPS).
FTP Server Configuration
Code (YAML):
ftp:
server
:
"ftp.example.com"
port
: 21
username
:
"your-ftp-username"
password
:
"your-ftp-password"
remote-path
:
"/path/on/ftp/server"
SFTP Server Configuration
Code (YAML):
sftp:
server
:
"sftp.example.com"
port
: 22
username
:
"your-sftp-username"
password
:
"your-sftp-password"
remote-path
:
"/path/on/sftp/server"
FTPS Server Configuration
Code (YAML):
ftps:
server
:
"ftps.example.com"
port
: 21
username
:
"your-ftps-username"
password
:
"your-ftps-password"
remote-path
:
"/path/on/ftps/server"
List of Folders to Synchronize
Code (YAML):
sync-folders:
- local-path
:
"plugins/YourPluginName/folder1"
remote-path
:
"/remote/folder1"
- local-path
:
"world"
remote-path
:
"/remote/folder2"
# Add more folders as needed
Commands
- /sfs reload: Reloads the configuration. (Permission: syncfolder.reload)
Issues
If you encounter any issues or have suggestions, please
create a new issue.
Bugs
- If you receive the following message in your console, use FTPS instead of SFTP
Code (Text):
com.jcraft.jsch.JSchException: Algorithm negotiation fail
Problem Description
Credits
Author: CptGummiball (treeman1992)
License
This plugin is licensed under the MIT License - see the
LICENSE file for details.