[R] download and save all files from FTP site?

Ista Zahn istazahn at gmail.com
Tue Feb 5 02:14:04 CET 2013


Hi Anika,

Depending on your definition of "within R", you might try

system("wget -r <URL>")

HTH,
Ista

On Mon, Feb 4, 2013 at 7:49 PM, Anika Masters <anika.masters at gmail.com> wrote:
> What are "good" ways, within R, to download all files (perhaps including
> folders/directories?) from an FTP site and then save these files to a local
> hard drive? Is try(getURL) {RCurl} and save() the "best" functions to
> utilize?  Any other suggestions?
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list