Description Usage Arguments Value See Also Examples
View source: R/sftp_functions.R
Convenience function wrapping sftp_list with type hard set to "dir". Questions? https://github.com/stenevang/sftp
1 2 3 4 5 6 7 | sftp_listdirs(
sftp_connection = sftp_con,
verbose = TRUE,
curlPerformVerbose = FALSE,
recurse = FALSE,
curl_options = list()
)
|
sftp_connection |
A list created by calling sftp_connect
Default value is |
verbose |
Logical. Turn on messages to console. Default is TRUE. |
curlPerformVerbose |
Logical. Turn on messages to console from RCurl::curlPerform. Default is FALSE. |
recurse |
Logical. Recurse directories? Default is FALSE. |
curl_options |
A list of named values with names as listed by
|
A dataframe
sftp_listfiles, sftp_list, sftp
1 2 3 4 5 6 7 | # minimal - rely on defaults
files <- sftp_listdirs()
# explicit
files <- sftp_listdirs(sftp_connection = sftp_con,
verbose = TRUE,
curlPerformVerbose = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.