LocalDirListByName: LidarIndexR - Retrieve a directory listing of all files with...

LocalDirListByNameR Documentation

LidarIndexR – Retrieve a directory listing of all files with a specific name (various extensions)

Description

Retrieve a simple list of all files with the specified name but various extensions.

Usage

LocalDirListByName(path, fileName, ...)

Arguments

path

Path for a folder. Trailing slash is optional.

fileName

A string containing the name of a single file. All files with the same name (but different extensions) will be returned.

...

Arguments passed to RCurl::getURL().

Value

A list of file names (invisible).

Examples

## Not run: 
DirListByName(paste0("ftp://rockyftp.cr.usgs.gov/vdelivery/Datasets/",
    "Staged/Hydrography/NHD/HU4/HighResolution/Shape/"),
    "NHD_H_0101_HU4_Shape.jpg")

## End(Not run)

bmcgaughey1/LidarIndexR documentation built on April 14, 2025, 6:07 p.m.