Using R to automate file uploads

Steve Simon

2023-10-03

I am trying to automate some tasks that will streamline my workload. One of those tasks is uploading files to my website. I am just starting to explore how this can be done. Here is a brief summary of what I have found so far.

There is an R library, RCurl, that uses libcurl, a free program for doing a variety of web tasks.

What you can do with RCurl is so big that finding a place to jump in is difficult. There is a nice overview page at the Omega Project website.

It looks like the ftpUpload function is what I want, but I probably have to set up some other information first like the URL I want to upload to and password information.