Vitaliy4us Posted February 13, 2016 Share Posted February 13, 2016 (edited) It looks like InetRead does not work with https. For example this code: Local $result = InetRead("https://www.autoitscript.com/") Local $resultString = BinaryToString($result) MsgBox(0,"", $resultString) returns a blank string. Is it possible to work with https pages using InetRead? Edited February 13, 2016 by Vitaliy4us Link to comment Share on other sites More sharing options...
Danyfirex Posted February 13, 2016 Share Posted February 13, 2016 It works. (should) Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Vitaliy4us Posted February 13, 2016 Author Share Posted February 13, 2016 12 minutes ago, Danyfirex said: It works. (should) Saludos Yes, it works. And a guy at our local forum tried this just a few minutes ago. But it does not work on my machine. May be the reason is my old Windows XP x64? Link to comment Share on other sites More sharing options...
Skysnake Posted February 17, 2016 Share Posted February 17, 2016 Connecting to the Internet is a huge thing. Try code that works on something simple that you can verify. Then try to figure out exactly WHY it is not working. I would not be surprised if there are updates out there blocking XP to certain sites. I have a little script that downloads certain zip files every morning. Its from a normal http site and it works. Good luck Skysnake Why is the snake in the sky? Link to comment Share on other sites More sharing options...
Alex1986 Posted February 17, 2016 Share Posted February 17, 2016 Try This : #include <Inet.au3> Local $result = _INetGetSource("https://www.autoitscript.com/") ;Local $result = InetRead("https://www.autoitscript.com/") Local $resultString = BinaryToString($result) MsgBox(0,"", $resultString) 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