Using R to save images & .csv's, can I use R to upload them to website (use filezilla to do it manually)? -


first should lot of on head, apologize in advance using incorrect terminology , potentially asking unclear question. i'm doing best.

also, saw thispost; rcurl tool want use task?

every day 4 months i'll analyzing new data, , generating .csv files , .png's need uploaded web site other team members checking. i've (nearly) automated of data collecting, data downloading, analysis, , file saving. analysis carried out in r, , r saves files. use filezilla manually upload new files website. there way use r upload files web site, don't have open filezilla , drag+drop files?

it'd nice run r-code , walk away, knowing once finishes running, newly saved files automatically put on website.

thanks help!

you didn't specify protocol use upload files using filezilla. assume ftp. if so, can use ftpupload function of rcurl:

library(rcurl) ftpupload("yourfile", "ftp://ftp.yourserver.foo/yourfile",      userpwd="username:passwd") 

rcurl had methods scp , should support sftp using ftpupload.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -