List Files or Folders in a FTP Directory
Usage
list_url(
url = ftp_path_cdc(),
recursive = !is.na(max_depth),
max_depth = NA,
full_info = FALSE,
full_names = FALSE,
...
)Arguments
- url
URL to FTP server, including "ftp://"
- recursive
logical indicating whether to list files in all subdirectories (default:
FALSE)- max_depth
maximum folder depth to consider when
recursive = TRUE- full_info
if
TRUE, not only the path and filename are returned but also the file properties. The default isFALSE.- full_names
if
TRUE, the full URLs are returned, otherwise (the default) only the paths relative tourl.- ...
arguments passed to
kwb.dwd:::try_to_get_url, such asn_trials,timeout, orsleep_time