powered by
This function extracts all the links in a ftp page
getContent(dirs)
is the url from which links should be extracted
vector containing all the links in the page
# 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