Jump to content
Vitaliy4us

InetRead and https

Recommended Posts

Vitaliy4us

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 by Vitaliy4us

Share this post


Link to post
Share on other sites
Danyfirex

It works. (should)

 

Saludos

Share this post


Link to post
Share on other sites
Vitaliy4us
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?

Share this post


Link to post
Share on other sites
Skysnake

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?

Share this post


Link to post
Share on other sites

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

×