sftp_listfiles: List files in an SFTP directory

Description Usage Arguments Value See Also Examples

View source: R/sftp_functions.R

Description

Convenience function wrapping sftp_list with type hard-set to "file". Questions? https://github.com/stenevang/sftp

Usage

1
2
sftp_listfiles(sftp_connection = sftp_con, verbose = TRUE,
  curlPerformVerbose = FALSE, recurse = FALSE)

Arguments

sftp_connection

A list created by calling sftp_connect Default value is "sftp_con".

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.

Value

A dataframe

See Also

sftp_listdirs, sftp_list, sftp

Examples

1
2
3
4
5
6
7
# minimal - rely on defaults
files <- sftp_listfiles()

# explicit
files <- sftp_listfiles(sftp_connection = sftp_con,
                        verbose = TRUE,
                        curlPerformVerbose = FALSE)

stenevang/sftp documentation built on Oct. 25, 2019, 5:16 a.m.