On Mon, 4 Aug 2003, Marc Mamin wrote:

> Hallo,
> 
> I want to open an ftp connection (with login and pwd),
> and then to retrieve the file list and the files'content of a given
> directory.
> 
> Is this possible with R (on W2K)?

Not a file list: the internal ftp client does not support that. You can 
get a file by a ftp://user:[EMAIL PROTECTED]/path/to/file URL.

You can use download.file(method="wget") to do this: a suitable copy of 
wget.exe is at http://www.stats.ox.ac.uk/pub/Rtools.

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to