Hi! I just need to make an AutoIt script to get a file on the web. I find this script on the example MsgBox(0,"Telechargement", "Telechargement du client en cours" & @TempDir)
DirCreate ( @TempDir & "\ test \")
Local $hDownload = InetGet("http://www.autoitscript.com/autoit3/files/beta/update.dat", @TempDir & "\ test \", 1, 1)
Do
Sleep(250)
Until InetGetInfo($hDownload, 2) ; Check if the download is complete.
Local $aData = InetGetInfo($hDownload) ; Get all information.
InetClose($hDownload) ; Close the handle to release resourcs.
MsgBox(0, "", "Bytes read: " & $aData[0] & @CRLF & _
"Size: " & $aData[1] & @CRLF & _
"Complete?: " & $aData[2] & @CRLF & _
"Successful?: " & $aData[3] & @CRLF & _
"@error: " & $aData[4] & @CRLF & _
"@extended: " & $aData[5] & @CRLF) I did some modification, but even without it it doesn't work. When you go on Autoit You can see the file. Error i got: Bytes Read:0
Size: 445
Complete: True
Successfull: False
@error: 31
@extend: 123 I can't find something about error 31 with inetGet except this Autoit.de but that doesn't help me. I have AutoIt v3.3.6.1 Thanks for your time Elfangor P.S: Sorry for my bad English