Forum

> > Stranded II > Scripts > "downloadfile" command
ForenübersichtStranded II-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch "downloadfile" command

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt "downloadfile" command

Assassin moder
User Off Offline

Zitieren
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
2× editiert, zuletzt 30.06.13 16:48:19

alt Re: "downloadfile" command

ohaz
User Off Offline

Zitieren
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.

alt Re: "downloadfile" command

Assassin moder
User Off Offline

Zitieren
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
1× editiert, zuletzt 30.06.13 19:20:50
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtStranded II-ÜbersichtForenübersicht