getFolderStructure: Get the Folder Structure of an ftp

Description Usage Arguments Details Value Author(s) Examples

View source: R/getFolderStructure.R

Description

This function can be used to get the folder structure given a the URL of an FTP in a list form.

Usage

1
getFolderStructure(url, maxdep=-1, dep=0)

Arguments

url

A character string naming the URL of a FTP.

maxdep

Integer of the maximum number of recursions to run.

dep

Integer of the current level of the recursion.

Details

this and that

Value

Nested list containing folder and their folder and files.

Author(s)

Joshua B. Kunst

Examples

1
## Not run: getFolderStructure("ftp://pds-geosciences.wustl.edu/earth/grsfe/")

gvegayon/PDSR documentation built on May 17, 2019, 9:29 a.m.