Forum

> > Stranded II > Scripts > "downloadfile" command
Forums overviewStranded II overview Scripts overviewLog in to reply

English "downloadfile" command

6 replies
To the start Previous 1 Next To the start

old "downloadfile" command

Assassin moder
User Off Offline

Quote
how to use s2 cmd downloadfile right ?

I used it that way (I only tried):
1
downloadfile "bitbucket.org","prupe/mcpatcher/raw/master/doc/renderpass.properties","sys/update/SAMPLE.s2s";

Game download "file" and I get that on SAMPLE.s2s:
1
2
3
4
5
6
7
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.2.4</center>
</body>
</html>

- Tested on bitbucket.org, mediafire.com

Is that command work only on some filehosting services? I need that command for "updating" my mod by "command".

EDIT: unrealsoftware.de filehosting works, but I don't will be using it for uploading massively single files.

EDIT2: sendspace.com is working, thread can be closed
edited 2×, last 30.06.13 04:48:19 pm

old Re: "downloadfile" command

ohaz
User Off Offline

Quote
bitbucket is using https. I don't think S2 supports https
mediafire does not allow hotlinking at all as far as I remember.
Why don't you just get a free hosting service and try that one?
Problem with pages like sendspace: They delete your files after ~30 days.

old Re: "downloadfile" command

Assassin moder
User Off Offline

Quote
Thanks, also I need some hosting service which allow to edit .txt files without changing link did anybody know some? I will check it up and I ask uncle google

EDIT: tinypic can be used for image files, I need ediable .txt files (without reuploading or changing link) and normal files.. ;o
edited 1×, last 30.06.13 07:20:50 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview