On Aug 18, 2010, at 2:58 PM, christiaan pauw wrote:
Hi Ricardo and everybody
In this old post to rhelp you say that the problem was solved but
not what
the sollution was. I have the same problem now. I want to read a
Excel file
from a google site that has restricted access so I need to give a
username
and password at some point. I could not find an example or a help
file that
shows how this can be done. You post is one of few but it does not
contain
the answer
wget is not in R.
http://wiki.archlinux.org/index.php/Wget
--
David.
I would be very glad if you could share to sollution
best regards
Christiaan
On 9 August 2009 23:37, [Ricardo Rodriguez] Your XEN ICT Team <
webmas...@xen.net> wrote:
Please, accept my apologies for keeping posting in HTML format!
Solved!
Greetings,
Ricardo
[Ricardo Rodriguez] Your XEN ICT Team wrote:
Hi,
Following an example I've received from Phil Spector, I am trying
to get a
remote file by using download file.
The concerned remote server doesn't username and password passed
with the
URL, thus this line fails...
download.file('
http://username:passw...@xepecnet.environmentalchange.net/xwiki/bin/view/ICT/RGraphicSample02
','RG02',method='wget')
I can get a free access file without any problem
download.file('
http://xepecnet.environmentalchange.net/xwiki/bin/view/ICT/RGraphicSample01?xpage=plain
','RG01',method='wget')
But, of course, access to a protected one fails...
download.file('
http://xepecnet.environmentalchange.net/xwiki/bin/view/ICT/RGraphicSample02?xpage=plain
','RG02',method='wget')
*Wget does the trick *when executed from the comman line with the
following parameters...
wget --http-user=DummyDummy --http-password=dummy --auth-no-
challenge
http://xepecnet.environmentalchange.net/xwiki/bin/view/ICT/RGraphicSample02?xpage=plain
Please, is it possible to pass these parameters to the method wget
in
download.file?
Thank you for your help,
Ricardo
------------------------------------------------------------------------
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Ricardo RodrÃguez
Your XEN ICT Team
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.