Re: [R] FTP Download

2010-09-16 Thread Martin
works, thanks a lot! -- View this message in context: http://r.789695.n4.nabble.com/FTP-Download-tp2542359p2542380.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] FTP Download

2010-09-16 Thread Henrique Dallazuanna
Try this: mapply(download.file, filenames, basename(filenames)) On Thu, Sep 16, 2010 at 11:56 AM, Martin wrote: > > Hi, > > I have problems downloading complete folders via ftp with R. Single files > work fine. > I tried Rcurl, but it does not work. > This is my code: > > url = > " > ftp://dis

[R] FTP Download

2010-09-16 Thread Martin
Hi, I have problems downloading complete folders via ftp with R. Single files work fine. I tried Rcurl, but it does not work. This is my code: url = "ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/Derived_Products/3B42_V6/Daily/2009/"; filenames = getURL(url, ftp.use.epsv = FALSE, ftplistonly = T