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.
- Download the latest release JAR file from the Releases page.
- Place the downloaded JAR file in the
plugins
folder of your Bukkit/Spigot server. - Start or restart your server.
- Navigate to the
plugins
folder and find theSimpleFTPSync
folder. - Open the
config.yml
file to configure synchronization settings.
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: "ftp.example.com"
port: 21
username: "your-ftp-username"
password: "your-ftp-password"
remote-path: "/path/on/ftp/server"
sftp:
server: "sftp.example.com"
port: 22
username: "your-sftp-username"
password: "your-sftp-password"
remote-path: "/path/on/sftp/server"
StrictHostKeyChecking: "yes" # Set to "yes" or "no" to enable or disable strict host key checking (not recommended)
ftps:
server: "ftps.example.com"
port: 21
username: "your-ftps-username"
password: "your-ftps-password"
remote-path: "/path/on/ftps/server"
sync-folders:
- local-path: "plugins/YourPluginName/folder1"
remote-path: "/remote/folder1"
- local-path: "world"
remote-path: "/remote/folder2"
# Add more folders as needed
/sfs reload
: Reloads the configuration. (Permission:syncfolder.reload
)
Check the server logs for error messages. Ensure that the server and FTP/SFTP/FTPS configurations are accurate.
Please see here for more information and use FTPS instead of SFTP
I get the error org.apache.commons.net.MalformedServerReplyException: Could not parse response code Reply: SSH-2.0-Go
in the console
Ensure that you're connecting to the correct type of server. For example, if you're expecting an FTP server, make sure you are connecting to an FTP server and not an SSH server.
If you encounter any issues or have suggestions, please create a new issue.
Author: CptGummiball