SImplify Posted December 7, 2004 Share Posted December 7, 2004 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 More sharing options...
jpm Posted December 7, 2004 Share Posted December 7, 2004 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?CheersSimplify<{POST_SNAPBACK}>just use "http://user:password@something/Some/page.asp" Link to comment Share on other sites More sharing options...
SImplify Posted December 7, 2004 Author Share Posted December 7, 2004 just use "http://user:password@something/Some/page.asp" <{POST_SNAPBACK}>Nope. no work!Cheers Link to comment Share on other sites More sharing options...
Wolvereness Posted December 7, 2004 Share Posted December 7, 2004 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 More sharing options...
jpm Posted December 7, 2004 Share Posted December 7, 2004 Nope. no work!Cheers<{POST_SNAPBACK}>At least it is working with autoItscript.com site Link to comment Share on other sites More sharing options...
scriptkitty Posted December 7, 2004 Share Posted December 7, 2004 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 More sharing options...
JSThePatriot Posted December 7, 2004 Share Posted December 7, 2004 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 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