getContent: Extracts links from ftp page

Description Usage Arguments Value Author(s) Examples

View source: R/getContent.R

Description

This function extracts all the links in a ftp page

Usage

1
getContent(dirs)

Arguments

dirs

is the url from which links should be extracted

Value

vector containing all the links in the page

Author(s)

Claudia Vitolo

Examples

1
2
3
4
5
6
## Not run: 
  # Retrieve mopex daily catalogue
  url <- "ftp://hydrology.nws.noaa.gov/pub/gcip/mopex/US_Data/Us_438_Daily/"
  getContent(dirs = url)

## End(Not run)

hddtools documentation built on May 2, 2019, 2:08 a.m.