1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

API FTP API (Upload and Download to another FTP) 0.1

skript api for interactions with an external FTP

Tags:
  1. a
    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")
    Uzumaki likes this.

Recent Reviews

  1. RepublicanSensei
    RepublicanSensei
    5/5,
    Version: 0.1
    Can you make a SFTP version of this. <3 Thank you.