Learn R Programming

hddtools (version 0.8.2)

getContent: Extracts links from ftp page

Description

This function extracts all the links in a ftp page

Usage

getContent(dirs)

Arguments

dirs

is the url from which links should be extracted

Value

vector containing all the links in the page

Examples

Run this code
# NOT RUN {
  # Retrieve mopex daily catalogue
  url <- "ftp://hydrology.nws.noaa.gov/pub/gcip/mopex/US_Data/Us_438_Daily/"
  getContent(dirs = url)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab