Re: [R] ftp connections for uploading files

2009-01-11 Thread Prof Brian Ripley
On Fri, 9 Jan 2009, Duncan Temple Lang wrote: Hi Thomas Rather than getting into the details of libcurl options which are quite general and very flexible, I thought it was easier to write an explicit ftpUpload() function that takes care of the details. You need a new version of the package

Re: [R] ftp connections for uploading files

2009-01-09 Thread Thomas Loridan
Thanks a lot Duncan Sorry to insist with my questions but I am very lost with these Rcurl commands... could you point out the few ones I need to set up an ftp connection and just upload a file ? Greatly appreciated Thomas 2009/1/8 Duncan Temple Lang dun...@wald.ucdavis.edu: Prof Brian

Re: [R] ftp connections for uploading files

2009-01-09 Thread Duncan Temple Lang
Hi Thomas Rather than getting into the details of libcurl options which are quite general and very flexible, I thought it was easier to write an explicit ftpUpload() function that takes care of the details. You need a new version of the package (as it contains the function and a small change

[R] ftp connections for uploading files

2009-01-08 Thread Thomas Loridan
Hi all, I would like to upload some plots I create wth R via ftp or something similar but I don t really understand which command/syntax I should use: should I go for make.socket + write.socket or try and create environment variables like frp_proxy_user and then ftp my files? how? many thanks

Re: [R] ftp connections for uploading files

2009-01-08 Thread Prof Brian Ripley
Try system() with curl or a decent ftp client (I don't see that package RCurl covers this, but it might despite its description only mentioning HTTP). From 'man curl' curl offers a busload of useful tricks like proxy support, user authen- tication, ftp upload, HTTP post, SSL

Re: [R] ftp connections for uploading files

2009-01-08 Thread Thomas Loridan
Many thanks for that. I am running R under windows and I am not sure what you mean by this curl? Is'nt there a way to ftp via an intrinsic R function? Thanks again Thomas 2009/1/8 Prof Brian Ripley rip...@stats.ox.ac.uk: Try system() with curl or a decent ftp client (I don't see that package

[R] ftp connections for uploading files

2009-01-08 Thread Thomas Loridan
Hi all, I would like to upload some plots I create wth R via ftp or something similar but I don t really understand which command/syntax I should use: should I go for make.socket + write.socket or try and create environment variables like frp_proxy_user and then ftp my files? how? many thanks

Re: [R] ftp connections for uploading files

2009-01-08 Thread Gábor Csárdi
On Thu, Jan 8, 2009 at 5:42 PM, Thomas Loridan thomas.lori...@gmail.com wrote: Many thanks for that. I am running R under windows and I am not sure what you mean by this curl? http://curl.haxx.se/ Is'nt there a way to ftp via an intrinsic R function? That I don't know, perhaps some else

Re: [R] ftp connections for uploading files

2009-01-08 Thread Prof Brian Ripley
On Thu, 8 Jan 2009, Gábor Csárdi wrote: On Thu, Jan 8, 2009 at 5:42 PM, Thomas Loridan thomas.lori...@gmail.com wrote: Many thanks for that. I am running R under windows and I am not sure what you mean by this curl? http://curl.haxx.se/ And it comes as standard on Mac OS X and many Linux

Re: [R] ftp connections for uploading files

2009-01-08 Thread Duncan Temple Lang
Prof Brian Ripley wrote: Try system() with curl or a decent ftp client (I don't see that package RCurl covers this, but it might despite its description only mentioning HTTP). It does support FTP, and all of the protocols that are supported in the installed libcurl, so it depends the