View source: R/download_ftp_file.R
list_files_ftp | R Documentation |
Function to list files on an FTP or SFTP server.
list_files_ftp(
url,
credentials = "",
sleep = NA,
sort = FALSE,
verbose = FALSE
)
url |
The url of remote directory. |
credentials |
Credentials for a FTP or SFTP server. Do not use
|
sleep |
Number of seconds to wait between querying server. |
sort |
Should the files be sorted alphabetically? |
verbose |
Should the function give messages?
|
Stuart K. Grange
## Not run:
# Set credentials in this format
credentials <- "username:password"
# List files on a ftp server
list_files_ftp("ftp://195.174.23.76/test", credentials)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.