Re: Web page source using wget?

2003-10-13 Thread Suhas Tembe
PROTECTED] To: Suhas Tembe [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 6:12 PM Subject: Re: Web page source using wget? Suhas Tembe [EMAIL PROTECTED] writes: It does look a little complicated This is how it looks: form action=InventoryStatus.asp method=post

Re: Web page source using wget?

2003-10-13 Thread Hrvoje Niksic
Suhas Tembe [EMAIL PROTECTED] writes: There are two steps involved: 1). Log in to the customer's web site. I was able to create the following link after I looked at the form section in the source as explained to me earlier by Hrvoje. wget

Re: Web page source using wget?

2003-10-13 Thread Suhas Tembe
): Your session has expired due to a period of inactivity 2). [EMAIL PROTECTED] Thanks, Suhas - Original Message - From: Hrvoje Niksic [EMAIL PROTECTED] To: Suhas Tembe [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 13, 2003 11:37 AM Subject: Re: Web page source using wget

Re: Web page source using wget?

2003-10-13 Thread Suhas Tembe
:53 AM Subject: Re: Web page source using wget? I tried, but it doesn't seem to have worked. This what I did: wget --save-cookies=cookies.txt http://customer.website.com?UserAccount=USERAccessCode=PASSWORDLocale=English (United States)TimeZone=(GMT-5:00) Eastern Standard Time (USA amp; Canada

Re: Web page source using wget?

2003-10-13 Thread Jens Rösner
PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 13, 2003 11:53 AM Subject: Re: Web page source using wget? I tried, but it doesn't seem to have worked. This what I did: wget --save-cookies=cookies.txt http://customer.website.com?UserAccount=USERAccessCode=PASSWORDLoca le

Re: Web page source using wget?

2003-10-13 Thread Hrvoje Niksic
Suhas Tembe [EMAIL PROTECTED] writes: I tried, but it doesn't seem to have worked. This what I did: wget --save-cookies=cookies.txt http://customer.website.com?UserAccount=USERAccessCode=PASSWORDLocale=English (United States)TimeZone=(GMT-5:00) Eastern Standard Time (USA amp;

Re: Web page source using wget?

2003-10-13 Thread Hrvoje Niksic
Jens Rösner [EMAIL PROTECTED] writes: Well, I am by no means an expert, but I think that wget closes the connection after the first retrieval. The SSL server realizes this and decides that wget has no right to log in for the second retrieval, eventhough the cookie is there. I think that is a

Re: Web page source using wget?

2003-10-13 Thread Suhas Tembe
: [EMAIL PROTECTED] Sent: Monday, October 13, 2003 12:51 PM Subject: Re: Web page source using wget? Hi Suhas! Well, I am by no means an expert, but I think that wget closes the connection after the first retrieval. The SSL server realizes this and decides that wget has no right to log

Re: Web page source using wget?

2003-10-13 Thread Suhas Tembe
PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 13, 2003 12:57 PM Subject: Re: Web page source using wget? Suhas Tembe [EMAIL PROTECTED] writes: I tried, but it doesn't seem to have worked. This what I did: wget --save-cookies=cookies.txt http://customer.website.com?UserAccount

Re: Web page source using wget?

2003-10-13 Thread Hrvoje Niksic
Suhas Tembe [EMAIL PROTECTED] writes: Cookies.txt looks like this: # HTTP cookie file. # Generated by Wget on 2003-10-13 13:19:26. # Edit at your own risk. There is nothing after the 3rd line. So, it doesn't look like a valid cookie file. It's valid all right, but there are no cookies

Re: Web page source using wget?

2003-10-13 Thread Hrvoje Niksic
Suhas Tembe [EMAIL PROTECTED] writes: The other thing I noticed is that the first URL (to log in) does not seem to work, because when I use that same URL in IE, it brings me back to the login screen (see attached source of the login page). I don't get logged-in. Why are you using that URL if

Re: Web page source using wget?

2003-10-13 Thread Jens Rösner
Hi Hrvoje! retrieval, eventhough the cookie is there. I think that is a correct behaviour for a secure server, isn't it? Why would it be correct? Sorry, I seem to have been misled by my own (limited) experience: From the few secure sites I use, most will not let you log in again after

Re: Web page source using wget?

2003-10-13 Thread Hrvoje Niksic
Jens Rösner [EMAIL PROTECTED] writes: Hi Hrvoje! retrieval, eventhough the cookie is there. I think that is a correct behaviour for a secure server, isn't it? Why would it be correct? Sorry, I seem to have been misled by my own (limited) experience: From the few secure sites I use,

Re: Web page source using wget?

2003-10-07 Thread Suhas Tembe
, Suhas - Original Message - From: Hrvoje Niksic [EMAIL PROTECTED] To: Suhas Tembe [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 06, 2003 5:19 PM Subject: Re: Web page source using wget? Suhas Tembe [EMAIL PROTECTED] writes: Hello Everyone, I am new to this wget

Re: Web page source using wget?

2003-10-07 Thread Hrvoje Niksic
Suhas Tembe [EMAIL PROTECTED] writes: Thanks everyone for the replies so far.. The problem I am having is that the customer is using ASP Java script. The URL stays the same as I click through the links. URL staying the same is usually a sign of the use of frame, not of ASP and

Re: Web page source using wget?

2003-10-07 Thread Suhas Tembe
] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 5:02 PM Subject: Re: Web page source using wget? Suhas Tembe [EMAIL PROTECTED] writes: Thanks everyone for the replies so far.. The problem I am having is that the customer is using ASP Java script. The URL stays the same as I

Re: Web page source using wget?

2003-10-07 Thread Hrvoje Niksic
Suhas Tembe [EMAIL PROTECTED] writes: this page contains a drop-down list of our customer's locations. At present, I choose one location from the drop-down list click submit to get the data, which is displayed in a report format. I right-click then choose view source save source to a file.

Re: Web page source using wget?

2003-10-07 Thread Suhas Tembe
, October 07, 2003 5:24 PM Subject: Re: Web page source using wget? Suhas Tembe [EMAIL PROTECTED] writes: this page contains a drop-down list of our customer's locations. At present, I choose one location from the drop-down list click submit to get the data, which is displayed in a report

Re: Web page source using wget?

2003-10-07 Thread Hrvoje Niksic
Suhas Tembe [EMAIL PROTECTED] writes: It does look a little complicated This is how it looks: form action=InventoryStatus.asp method=post [...] [...] select name=cboSupplier option value=4541-134289454A/option option value=4542-134289 selected454B/option /select Those are the

Re: Web page source using wget?

2003-10-06 Thread Tony Lewis
Suhas Tembe wrote: 1). I go to our customer's website every day log in using a User Name Password. [snip] 4). I save the source to a file subsequently perform various tasks on that file. What I would like to do is automate this process of obtaining the source of a page using wget. Is

Re: Web page source using wget?

2003-10-06 Thread Hrvoje Niksic
Tony Lewis [EMAIL PROTECTED] writes: wget http://www.custsite.com/some/page.html --http-user=USER --http-passwd=PASS If you supply your user ID and password via a web form, it will be tricky (if not impossible) because wget doesn't POST forms (unless someone added that option while I wasn't

Re: Web page source using wget?

2003-10-06 Thread Hrvoje Niksic
Suhas Tembe [EMAIL PROTECTED] writes: Hello Everyone, I am new to this wget utility, so pardon my ignorance.. Here is a brief explanation of what I am currently doing: 1). I go to our customer's website every day log in using a User Name Password. 2). I click on 3 links before I get to