Skip to content

FTP-Access from R

2 messages · Joerg Maeder, Brian Ripley

#
I want to access a file on a ftp-server with R. But it doesn't work. I
suppose the reason is the username and password. Here the non working
file path

ftp://woudc:woudc*@ftp.tor.ec.gc.ca/Archive-NewFormat/totalozone_1.0_1/stn035/dobson/1929/19290301.dobson.beck.002.smi.csv

I tested other files on this server, same result: a crash of R. I tested
it with other 'normal' sites (on other servers): that works



gruess

joerg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
You haven't told us the R platform. But R's ftp is taken from libxml on
most systems, and it's not a complete implementation.

I suggest you use download.file with method = "wget".
On Tue, 23 Oct 2001, Joerg Maeder wrote: