From: Rachel on
I'm trying to get data out of a password protected website. I can get urlread to go through the password to the main page but from there I can not get to the page I want to. I have tried copying that specific address with the password by all it says is my user credentials have expired. This is the same as if I paste the address directly into a browser.
The page I want to get to on a browser requires me to click a button called overveiw (i think it is called over in the html) which brings me onto a page which has 'realtime' data in a series of tables, one table for each data transmitter (4 in total for this particular one), and i want to get the first line of each table. Unfortunately I can't provide the web address or password, but if anyone can help. This is my code so far:

params = {'INPUT', 'over'}

[s,status]=urlread('http://user:password(a)www.awebsite.co.uk//cgi-bin/yoverview.cgi','POST', params)


Thanks

Rachel
From: us on
"Rachel " <rhnaeco(a)geemale.com> wrote in message <i1h6g5$8qc$1(a)fred.mathworks.com>...
> I'm trying to get data out of a password protected website. I can get urlread to go through the password to the main page but from there I can not get to the page I want to. I have tried copying that specific address with the password by all it says is my user credentials have expired. This is the same as if I paste the address directly into a browser.
> The page I want to get to on a browser requires me to click a button called overveiw (i think it is called over in the html) which brings me onto a page which has 'realtime' data in a series of tables, one table for each data transmitter (4 in total for this particular one), and i want to get the first line of each table. Unfortunately I can't provide the web address or password, but if anyone can help. This is my code so far:
>
> params = {'INPUT', 'over'}
>
> [s,status]=urlread('http://user:password(a)www.awebsite.co.uk//cgi-bin/yoverview.cgi','POST', params)
>
>
> Thanks
>
> Rachel

one of the possible solutions
- try using proper syntax...

[s,st]=urlread(...,params{:});

us