Skip to content
Prev 327168 / 398502 Next

read data from a URL with login required

On 20/07/2013 16:43, Hui Du wrote:
It really depends what 'login' means.  For some sites this can be 
incorporated into a URL of the form "http://user:passwd at foo.dom.com": 
for others a multi-stage interaction is required.

I would try to do it using e.g. wget or curl and capture the output via 
system().  If curl works, you most likely can do the same with package 
RCurl.

Note that the help for tools usually calls such things 'authentication' 
and reserves 'login' for an ftp URL (you did not tell us the scheme).

Also note: any more detail would be appropriate only for the R-devel 
list (see the posting guide).