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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

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

Download file from URL

Discussion in 'Skript' started by Riknesh, Sep 14, 2018.

Tags:
Thread Status:
Not open for further replies.
  1. Riknesh

    Riknesh Active Member

    Joined:
    Jun 9, 2017
    Messages:
    76
    Likes Received:
    2
    Skript Version (do not put latest): Skript 2.2-dev34
    Skript Author: Bensku
    Minecraft Version: 1.12

    Im trying to use SkUtilities to download a file directly to the server.

    Code (Skript):
    1. command /downloadfile <text> <text>:
    2.     usage: /downloadfile <link> <file path>
    3.     trigger:
    4.         download file from "%arg-1%" to file "%arg-2%"
    5.         stop
    Error:
    Code (Skript):
    1. [Server thread/ERROR]: [skUtilities] v0.9.2: File Already Exists: '/home/gs/gs/data/servers/10795181/plugins' cannot download into a file that already exists! (Utils.class)
    2.  
    Addons using :
    Skutilities 0.9.2

    Have you tried searching the docs? Yes
    Have you tried searching the forums? Not really
     
    #1 Riknesh, Sep 14, 2018
    Last edited: Sep 14, 2018
  2. Efnilite

    Supporter

    Joined:
    May 12, 2018
    Messages:
    218
    Likes Received:
    15
    Medals:
    Meaning the file already exists. When downloading make sure if you have file TheFile you download to file plugins/vshsjahj/hjsajaj/TheFile.something

    Also dont use stop.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...