Jump to content

About inetget and .asp pages


 Share

Recommended Posts

Hi there,

I have tried to use inetget command to download some .asp web-pages, but I did not succeeded. I first log in (by using IE) and after that tried to download other pages like:

$val=InetGet("http://something/Some/page.asp", "C:\foo.html")

But I got pages which said that I am not logged in.

Is that possible to avoid somehow?

Cheers

Simplify

Link to comment
Share on other sites

Hi there,

I have tried to use inetget command to download some .asp web-pages, but I did not succeeded. I first log in (by using IE) and after that tried to download other pages like:

$val=InetGet("http://something/Some/page.asp", "C:\foo.html")

But I got pages which said that I am not logged in.

Is that possible to avoid somehow?

Cheers

Simplify

<{POST_SNAPBACK}>

just use "http://user:password@something/Some/page.asp" :idiot:
Link to comment
Share on other sites

It has to do with cookies and not using a valid IE->cookie capable browser to access the page. You might be able to run a cmd line threw internet explorer to download the page (you have to use web page as parameter and IE hidden). Then you just need to copy the page from the temporary files (hows this for creative?)

Offering any help to anyone (to my capabilities of course)Want to say thanks? Click here! [quote name='Albert Einstein']Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.[/quote][quote name='Wolvereness' date='7:35PM Central, Jan 11, 2005']I'm NEVER wrong, I call it something else[/quote]

Link to comment
Share on other sites

You can use Wget as a commandline. It can do passwords, cookies, and refferer. It takes a bit to figure it out, but you can also post the login information as well for forms and the like.

It is a Unix command that has been ported to Windows by many folks.

AutoIt3, the MACGYVER Pocket Knife for computers.

Link to comment
Share on other sites

At least it is working with autoItscript.com site

<{POST_SNAPBACK}>

I am sure AutoItScript.com uses cookies. If these ASP pages dont use cookies then it wont work.

JS

AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Link to comment
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
 Share

  • Recently Browsing   0 members

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