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

2013-02-04 Thread Anika Masters
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@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.


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

2013-02-04 Thread Ista Zahn
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.mast...@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@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.

__
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.