Jump to content

Recommended Posts

Posted (edited)

As the topic states, I have an InetGet call to a long-ish running script on a website. Unfortunately, the script will sometimes take longer than one minute to complete, and the autoit InetGet function apparently times out. (I'm assuming it is a timeout since it happens after almost exactly 60 seconds)

Is there any way to change this timeout to a larger value or remove it altogether? (There was no mention of a timeout in the docs or in my searches, so maybe I'm missing something... I know the long-running web page is not timing out, as I can see it is still running on my server.)

Any help would be appreciated. Thanks!

Edited by Brickoneer
Posted

try outputing some data from the script ;) like for example a dot (".") every couple of seconds...

Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Posted

As the topic states, I have an InetGet call to a long-ish running script on a website. Unfortunately, the script will sometimes take longer than one minute to complete, and the autoit InetGet function apparently times out. (I'm assuming it is a timeout since it happens after almost exactly 60 seconds)

Is there any way to change this timeout to a larger value or remove it altogether? (There was no mention of a timeout in the docs or in my searches, so maybe I'm missing something... I know the long-running web page is not timing out, as I can see it is still running on my server.)

Any help would be appreciated. Thanks!

Do you use inetgetinfo in your script ?

With inetgetinfo you can get all infos on the download and see where the eror is ! Posted Image

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Posted

Do you use inetgetinfo in your script ?

With inetgetinfo you can get all infos on the download and see where the eror is ! Posted Image

Sorry for the delay in testing this out.

Switching to the "inetgetinfo loop" method, gives me back an @error of 13, and an @extended 12152. Unfortunately, no amount of searching revealed what these numbers represented. Obviously they're going to be something having to do with a timeout... which is what I'm trying to resolve.

Any help would be appreciated!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...