Download file from URL

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Riknesh

Active Member
Jun 9, 2017
76
2
8
Malaysia
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_language.skript:
command /downloadfile <text> <text>:
    usage: /downloadfile <link> <file path>
    trigger:
        download file from "%arg-1%" to file "%arg-2%"
        stop

Error:
code_language.skript:
[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)

Addons using :
Skutilities 0.9.2

Have you tried searching the docs? Yes
Have you tried searching the forums? Not really
 
Last edited:
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_language.skript:
command /downloadfile <text> <text>:
    usage: /downloadfile <link> <file path>
    trigger:
        download file from "%arg-1%" to file "%arg-2%"
        stop

Error:
code_language.skript:
[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)

Addons using :
Skutilities 0.9.2

Have you tried searching the docs? Yes
Have you tried searching the forums? Not really
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.
 
Status
Not open for further replies.