Hi,
I have a question, is support inetget with IE9? I am Trying to download a file but it isn't saved.
#include <IE.au3>
MsgBox(4096, "Test", @DocumentsCommonDir, 10)
Local $hDownload = InetGet("http://www.autoitscript.com/autoit3/files/beta/update.dat", @TempDir & "\update.dat", 1, 1)
Do
Sleep(250)
Until InetGetInfo($hDownload, 2) ; Check if the download is complete.
Local $nBytes = InetGetInfo($hDownload, 0)
InetClose($hDownload) ; Close the handle to release resources.
MsgBox(0, "", "Bytes read: " & $nBytes)
is necessary give privilegies for write data in the folder?
Regards!!!
I have a question, is support inetget with IE9? I am Trying to download a file but it isn't saved.
#include <IE.au3>
MsgBox(4096, "Test", @DocumentsCommonDir, 10)
Local $hDownload = InetGet("http://www.autoitscript.com/autoit3/files/beta/update.dat", @TempDir & "\update.dat", 1, 1)
Do
Sleep(250)
Until InetGetInfo($hDownload, 2) ; Check if the download is complete.
Local $nBytes = InetGetInfo($hDownload, 0)
InetClose($hDownload) ; Close the handle to release resources.
MsgBox(0, "", "Bytes read: " & $nBytes)
is necessary give privilegies for write data in the folder?
Regards!!!
![:geek:](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/geek.gif)