งงมากเลยครับ
2 posters
การสั่งให้autoit downloadไฟล์จากserver
pureexe- PSsix Member High Class
จำนวนข้อความ : 73
ความนิยม : 8
เข้าร่วมเมื่อ : 27/04/2011
Fast- PSsix Member Super Class III
-
จำนวนข้อความ : 217
ความนิยม : 54
เข้าร่วมเมื่อ : 19/06/2011
ประมาณนี้
Local $hDownload = InetGet("ใส่ชื่อของเซิฟกับไฟล์", "ใส่ที่เซฟลงในเครื่อง", 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 resourcs.
MsgBox(0, "", "Bytes read: " & $nBytes)
Local $hDownload = InetGet("ใส่ชื่อของเซิฟกับไฟล์", "ใส่ที่เซฟลงในเครื่อง", 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 resourcs.
MsgBox(0, "", "Bytes read: " & $nBytes)
|
|