View source: R/getUrlDirList.R
getUrlDirList | R Documentation |
Get remote URL directory listing
getUrlDirList(
url,
type = c("all", "dirs", "files"),
pattern = NULL,
absolute = FALSE
)
url |
|
type |
|
pattern |
|
absolute |
|
FTP and HTTP(S) servers are supported. Designed to be simple, and does not support recursive directory listing.
character
.
File basename, or absolute URL path when absolute
is TRUE
.
Updated 2023-09-28.
curlGetHeaders
.
url <- "ftp://ftp.ncbi.nlm.nih.gov/genomes/"
if (goalie::isAnExistingUrl(url)) {
x <- getUrlDirList(url)
print(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.