- Contributors
- blueyescat
- Supported Minecraft Versions
- 1.12
With this small skript-api you can upload and download a file from an FTP.
Created on September 19th 2018 by Anarchick (FR)
Last edit on September 19th 2018
Need the addon skript-mirror , tested on spigot-1.12.2 , skript-mirror version 0.19.0, java version 1.8.0_144
BECAREFULL > the class org.apache.commons.net.ftp does not exist on spigot, you have to download it from here https://commons.apache.org/proper/commons-net/download_net.cgi
after the download, you have to create the folder "plugins/skript-mirror/libraries" and put the "commons-net-3.6.jar" from the download in this created folder !
To connect to your FTP you have to edit somes lines in function getFTP()
NOTE > You can add multiple FTP
How to use this API:
ftpDownload(1, "test/eula_from_ftp.txt", "minecraft/eula.txt")
ftpUpload(1, "test/eula_from_ftp.txt", "minecraft/eula_from_local.txt")
Created on September 19th 2018 by Anarchick (FR)
Last edit on September 19th 2018
Need the addon skript-mirror , tested on spigot-1.12.2 , skript-mirror version 0.19.0, java version 1.8.0_144
BECAREFULL > the class org.apache.commons.net.ftp does not exist on spigot, you have to download it from here https://commons.apache.org/proper/commons-net/download_net.cgi
after the download, you have to create the folder "plugins/skript-mirror/libraries" and put the "commons-net-3.6.jar" from the download in this created folder !
To connect to your FTP you have to edit somes lines in function getFTP()
NOTE > You can add multiple FTP
How to use this API:
ftpDownload(1, "test/eula_from_ftp.txt", "minecraft/eula.txt")
ftpUpload(1, "test/eula_from_ftp.txt", "minecraft/eula_from_local.txt")