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

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 aft

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 th

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

Re: Web page "source" using wget?

2003-10-13 Thread Suhas Tembe
> To: "Suhas Tembe" <[EMAIL 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 s

Re: Web page "source" using wget?

2003-10-13 Thread Suhas Tembe
"Suhas Tembe" <[EMAIL PROTECTED]> Cc: <[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 fi

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 th

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=USER&AccessCode=PASSWORD&Locale=English > (United States)&TimeZone=(GMT-5:00) Eastern Standard Time (USA & > Ca

Re: Web page "source" using wget?

2003-10-13 Thread Jens Rösner
gt; > - Original Message - > From: "Suhas Tembe" <[EMAIL PROTECTED]> > To: "Hrvoje Niksic" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Monday, October 13, 2003 11:53 AM > Subject: Re: Web page "source" using w

Re: Web page "source" using wget?

2003-10-13 Thread Suhas Tembe
[EMAIL 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=USER&AccessCode

Re: Web page "source" using wget?

2003-10-13 Thread Suhas Tembe
CTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, October 13, 2003 11:37 AM Subject: Re: Web page "source" using wget? > "Suhas Tembe" <[EMAIL PROTECTED]> writes: > > > There are two steps involved: > > 1). Log in to the customer's web site. I w

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 section in the "source" as explained to me earlier by Hrvoje. > wget http://customer.website.com?UserAccount=USER&Acc

Re: Web page "source" using wget?

2003-10-13 Thread Suhas Tembe
has - Original Message - From: "Hrvoje Niksic" <[EMAIL 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" <[E

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: > > > 454A > 454B > Those are the important parts. It's not hard to submit this form. With Wget 1.9, you can even use the POST method, e.g.: wget http://.../InventoryStatus.asp --post-data

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: Tuesday, October 07, 2003 5:24 PM Subject: Re: Web page "source" using wget? > "Suhas Tembe" <[EMAI

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

Re: Web page "source" using wget?

2003-10-07 Thread Suhas Tembe
t? Thanks, Suhas - Original Message - From: "Hrvoje Niksic" <[EMAIL PROTECTED]> To: "Suhas Tembe" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 07, 2003 5:02 PM Subject: Re: Web page "source" using wget? > "S

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 J

Re: Web page "source" using wget?

2003-10-07 Thread Suhas Tembe
this? Thanks, 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? > "Suh

Re: Web page "source" using wget?

2003-10-06 Thread Tony Lewis
Hrvoje Niksic wrote: > Wget 1.9 can send POST data. That slipped past me. :-) Just in case I'm not the only one in that boat... >From NEWS: ** It is now possible to specify that POST method be used for HTTP requests. For example, `wget --post-data="id=foo&data=bar" URL' will send a POST reques

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 befor

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

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 usin

Web page "source" using wget?

2003-10-06 Thread Suhas Tembe
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 the page I want. 3). I right-click on the p