README.md

rftp

Install

To install package from GitHub:

# install.packages('devtools')
devtools::install_github('byapparov/rftp')

Environment Variables Required

Getting data from a known file

# domain and auth details will be added to a give path
# reading: ftps:://{FTP_USER}:{FTP_PASSWORD}@{FTP_SERVER}/root/file.csv
dt <- ftpRead("root/file.csv")

Geting data from all files in a folder (recursively)

# get all files that contain `input` in the name
files <- ftpListFiles("root/a/", "input")
dt <- lapply(files, ftpRead)
dt <- rbindList(dt)


byapparov/rftp documentation built on May 7, 2019, 10:56 a.m.