SImplify 0 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 Share this post Link to post Share on other sites
jpm 93 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" Share this post Link to post Share on other sites
SImplify 0 Posted December 7, 2004 just use "http://user:password@something/Some/page.asp" <{POST_SNAPBACK}>Nope. no work!Cheers Share this post Link to post Share on other sites
Wolvereness 0 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] Share this post Link to post Share on other sites
jpm 93 Posted December 7, 2004 Nope. no work!Cheers<{POST_SNAPBACK}>At least it is working with autoItscript.com site Share this post Link to post Share on other sites
scriptkitty 1 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. Share this post Link to post Share on other sites
JSThePatriot 18 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 LinksFile-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.ComputerGetInfo UDF's Updated! 11-23-2006External LinksVortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Share this post Link to post Share on other sites