| sftp_list | R Documentation |
sftp_list lists files, folders, or both in the SFTP location
specified by a list object created using sftp_connect.
Convenience wrapper functions are available in sftp_listfiles
and sftp_listdirs
sftp_list(
sftp_connection = get("sftp_con"),
verbose = TRUE,
curlPerformVerbose = FALSE,
encoding = "UTF-8",
type = "all",
recurse = F
)
sftp_connection |
A list created by calling |
verbose |
Logical. Turn on messages to console. Default is |
curlPerformVerbose |
Logical. Turn on messages to console from
|
encoding |
Explicitly identifies the encoding of the content that is
returned by the server in its response. Possible values are |
type |
One of |
recurse |
Logical. Recurse directories? Default is |
A tibble
sftp_listfiles, sftp_listdirs
Other sftp:
sftp_changedir(),
sftp_connect(),
sftp_delete(),
sftp_download(),
sftp_listdirs(),
sftp_listfiles(),
sftp_makedir(),
sftp_removedir(),
sftp_rename(),
sftp_upload()
## Not run:
# minimal - rely on defaults
files_and_folders <- sftp_list(type = "all")
# explicit
files_and_folders <- sftp_list(sftp_connection = sftp_con,
verbose = TRUE,
curlPerformVerbose = FALSE,
type = "all")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.