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 & Canada)&action-Submit=Login
wget --load-cookies=cookies.txt http://customer.website.com/supplyweb/smi/inventorystatus.asp?cboSupplier=4541-134289&status=all&action-select=Query --http-user=4542-134289 After executing the above two lines, it creates two files: 1). "[EMAIL PROTECTED]" : I can see that this file contains a message (among other things): "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? > "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 > > http://customer.website.com?UserAccount=USER&AccessCode=PASSWORD&Locale=English > > (United States)&TimeZone=(GMT-5:00) Eastern Standard Time (USA & > > Canada)&action-Submit=Login > > Did you add --save-cookies=FILE? By default Wget will use cookies, > but will not save them to an external file and they will therefore be > lost. > > > 2). Execute: wget > > http://customer.website.com/InventoryStatus.asp?cboSupplier=4541-134289&status=all&action-select=Query > > For this step, add --load-cookies=FILE, where FILE is the same file > you specified to --save-cookies above.