mymicha Posted July 24, 2007 Share Posted July 24, 2007 Hi, I have a problem with the InetGet() function. When I call this function, to get a file from a site, my script waits 60sec and then saves the file on my hdd. It doesn't matter, if I use HTTP or HTTPS (the site is on both protocols available). When I try this with a other site/server - like the Google logo on the first page - it works fine. Something will cause this delay, but I don't know what. By the way, it's the same, when I use the function InetGetSize() or _INetGetSource() or _INetGetSourcePro(). I use the newest version of AutoIT - not a beta. Any idea? Thanks a lot Micha Link to comment Share on other sites More sharing options...
quinner Posted July 24, 2007 Share Posted July 24, 2007 Hi,I have a problem with the InetGet() function. When I call this function, to get a file from a site, my script waits 60sec and then saves the file on my hdd. It doesn't matter, if I use HTTP or HTTPS (the site is on both protocols available). When I try this with a other site/server - like the Google logo on the first page - it works fine. Something will cause this delay, but I don't know what. By the way, it's the same, when I use the function InetGetSize() or _INetGetSource() or _INetGetSourcePro(). I use the newest version of AutoIT - not a beta.Any idea?Thanks a lotMichaAre you sure that the issue is with InetGet() ?Is there an imbedded download delay on that particular website?If you could give us the address it would help a lot... Link to comment Share on other sites More sharing options...
mymicha Posted July 24, 2007 Author Share Posted July 24, 2007 Hi,I found out some new interesting characteristics: When I try to download a file with INetGet(), the file is downloaded and saved to my hdd and then my script waits exact 60sec. I think there is a problem, to close the HTTP session.Here an example URL:Picture to test ...ThanksMicha Link to comment Share on other sites More sharing options...
piccaso Posted July 24, 2007 Share Posted July 24, 2007 The file you linked does not exist (or at least the server reports 404).I tried another one from this server:https://jimiworldwide.urweb.de/homepic/_t/g...ebridge_jpg.jpgworks fine... CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
mymicha Posted July 25, 2007 Author Share Posted July 25, 2007 Now I know where the problem is ... In our company and at home I use a automatic proxy configurations script. This works with IE an Firefox fine, but the autoit function gets some trouble with a few sites. I don't know why. When I use a direct proxy configuration (IP and Port in connection tab of IE) or no proxy, I have no problems. The autoit function INetGet(), INetGetSize(), _INetGetSource() and _INetGetSourcePro() uses the Microsoft DLL "wininet.dll" to do all this stuff. I think there is the problem, when I use a automatic proxy configuration script. So I think the problem is solved for me. I will configure a direct proxy configuration in my autoit script (HttpSetProxy). But I think there is a bug in the Microsoft DLL. Micha. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now