Learn R Programming

hddtools (version 0.3.0)

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(url)
# ## End(Not run)

Run the code above in your browser using DataLab