sftp_dir_info: Query File Metadata from SFTP Connection

View source: R/sftp_dir_info.R

sftp_dir_infoR Documentation

Query File Metadata from SFTP Connection

Description

sftp_dir_info() returns metadata for all files in the directory specified by the sftp_connection.

Note that the year in the modification_time is inferred such that the resulting datetime is as close as possible to the current time while remaining in the past or present. This is due to times returned by curl() not including a year.

Usage

sftp_dir_info(sftp_connection, regexp = NULL)

Arguments

sftp_connection

A list of connection parameters as created by sftp_connect()

Value

A tibble containing the path, size, permissions, modification_time, and hard_links of each file in the directory


jesse-smith/coviData documentation built on Jan. 14, 2023, 11:08 a.m.