ฟอรั่ม PSsix

Would you like to react to this message? Create an account in a few clicks or log in to continue.

ฟอรั่มของบล็อก http://pssix.blogspot.com


2 posters

    การสั่งให้autoit downloadไฟล์จากserver

    avatar
    pureexe
    PSsix Member High Class
    PSsix Member High Class


    การสั่งให้autoit downloadไฟล์จากserver Empty
    จำนวนข้อความ : 73
    ความนิยม : 8
    เข้าร่วมเมื่อ : 27/04/2011

    การสั่งให้autoit downloadไฟล์จากserver Empty การสั่งให้autoit downloadไฟล์จากserver

    ตั้งหัวข้อ by pureexe 21/08/11, 10:57 am

    งงมากเลยครับ
    avatar
    Fast
    PSsix Member Super Class III
    PSsix Member Super Class III


    การสั่งให้autoit downloadไฟล์จากserver Empty PSsix Program Coder
    จำนวนข้อความ : 217
    ความนิยม : 54
    เข้าร่วมเมื่อ : 19/06/2011

    การสั่งให้autoit downloadไฟล์จากserver Empty Re: การสั่งให้autoit downloadไฟล์จากserver

    ตั้งหัวข้อ by Fast 21/08/11, 03:00 pm

    ประมาณนี้

    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)

      เวลาขณะนี้ 17/05/24, 01:22 pm