Jump to content
Sign in to follow this  
StandardUser

InetGet not working

Recommended Posts

StandardUser

I'm trying to use a simple example from AutoIt help, let's say:

InetGet("http://www.mozilla.org", "C:\foo.html")

But it's just spitting out an error. I also disabled all firewalls, still no luck. I am noob to all the network stuff, but afaik it may be related to non open ports? I am using Samsung WiMax USB adapter for accessing internet. What could be the problem? Also, are there any other methods how to save a webpage to local hdd? I was trying to launch an invisible IE window, navigate to a webpage and get its source with _IEDocReadHTML, but its very slow in my case. I would greatly appreciate any help.

Edited by 871

Share this post


Link to post
Share on other sites
Nutster

Which version of AutoIt are you using? Are you using the new beta? The InetGet functionality has change substantially in the new beta. Read the beta docs for details.


David Nuttall
Nuttall Computer Consulting

An Aquarius born during the Age of Aquarius

AutoIt allows me to re-invent the wheel so much faster.

I'm off to write a wizard, a wonderful wizard of odd...

Share this post


Link to post
Share on other sites
StandardUser

I'm using v3.3.0.0, not the beta. Strange thing - it works when compiled to exe, but not from within Scite :) Anyway, could someone suggest, how to save a complete webpage(with all the images) to a tmp file and load it to a browser on the fly?

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.