From: "Michael Robbins" <michael.robbins@us.cibc.com>
Path: news.mathworks.com!newsfeed.mathworks.com!WebX
Newsgroups: comp.soft-sys.matlab
Subject: Re: URLREAD and password protected url...
Message-ID: <eec2a4f.6@WebX.raydaftYaTP>
Date: Fri, 22 Aug 2003 13:02:50 -0400
References: <eec2a4f.-1@WebX.raydaftYaTP> <eec2a4f.0@WebX.raydaftYaTP> <douglas.schwarz-F4BFCA.12572222082003@news.kodak.com>
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:171048



> Shouldn't that be
<http://login:password@www.company.com/private/> ?
> Note the placement of the '>'. I just used this syntax to get a
> file
> via ftp and it worked just fine.
>
> As for the '/' in the password, it might work as is because maybe
> the
> '/' won't terminate the password part of the URL (since the '@'
> should
> do that) or maybe you can try escaping it with a backslash or the %
> notation.


Thanks, but it doesn't work for me.


Maybe it's the website, not the technique. I can access the website
fine via MS Internet Explorer.


>> [s,status]=urlread('<http://u1/u2:p@www.c.com/private/>')


s = ''
status = 0