getFTPFileList: Fetch File List

Description Usage Arguments Value

View source: R/getFTPFileList.R

Description

This function allows you to pull down a list of files within an FTP directory.

Usage

1
getFTPFileList(host, userpwd, stringSearch, fileType = c("zip", "csv"))

Arguments

host

The FTP host url.

userpwd

login username and password colon seperated.

stringSearch

RegEx search for filenames in the directory.

fileType

Takes list that designates "zip", "csv", or both.

Value

Returns an array of file names in the directory.


blazickjoe/DataScienceLibrary documentation built on Nov. 5, 2019, 2:26 p.m.