Jump to content

Search the Community

Showing results for tags 'InetClose'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office


  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Found 3 results

  1. Here test example: The code is not prefect, but it's demonstrates the problem. So, when I download more than 2 files simultaneous from one server (in my example I download 3 simultaneously) by InetGet() with background option, I will get only 2 active downloads. It's seems like server limitation. The third will remain with 0 read bytes until one of the previous downloads would finished. And if I want to close this third 0 bytes read download with InetClose() I will get hang of Window GUI for several seconds! After that, the third download would be closed and everything will continu
  2. Here simple script: #include <InetConstants.au3> Local $hDownload $hDownload = InetGet("http://www.autoitscript.com/autoit3/files/beta/update.dat", @ScriptDir & "\test.txt", $INET_FORCERELOAD, $INET_DOWNLOADBACKGROUND) ConsoleWrite(@error) Sleep(5000) $bReturn = InetClose($hDownload) MsgBox(0, "", $bReturn) The reference says: Return Value True: if the handle was found and closed. False: if not. But I get always: False? I guess there should be True... Why that? Something wrong? Downloaded text file open as normal. @error =
  3. I know InetClose closes the "resources" to make sure it does not leak as the help file says but what kind of resources are we talking about? My reason for asking is I may need to run a script the fires the Inetget a few times and does not wait for the download to finish in a loop. If I use InetClose then it will kill the downloads in progress, so I want to know the consequence of leaving several of theses resources open. Thanks
  • Create New...