Hey,
kann mir jemand erklären, warum das Script die gewünschte Datei nicht herunterladen kann?
Das Programm soll später den Minecraft Flugmod für Freunde installieren ...
Lg V8II
kann mir jemand erklären, warum das Script die gewünschte Datei nicht herunterladen kann?
PHP Code:
Func GetFiles()
Local $Size, $Download, $Info, $Prozent
$Size = InetGetSize("http://v8ii2.***********/Minecraft/Flugmod_1.7.zip")
MsgBox(0, "", $Size)
$Download = InetGet("http://v8ii2.***********/Minecraft/Flugmod_1.7.zip", @TempDir & "\Flugmod_1.7.zip", 0, 1)
If @error Then MsgBox(0, @error, @extended)
MsgBox(0, "DDD", $Download)
#Region ### START Koda GUI section ### Form=
Global $Form1 = GUICreate("Minecraft Mod Download", 546, 59, 192, 124)
Global $Progress1 = GUICtrlCreateProgress(8, 8, 529, 25)
Global $Label1 = GUICtrlCreateLabel("Der Minecraft Flugmod für 1.7 wird heruntergeladen ...", 8, 40, 258, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$Info = InetGetInfo($Download)
MsgBox(0, "", $Info)
$Prozent = ($Info / $Size) * 100
GUICtrlSetData($Progress1, $Prozent)
If $Prozent = 100 Then ExitLoop
WEnd
GUICtrlSetData($Progress1, 0)
EndFunc ;==>GetFiles
Lg V8II