download_sftp: Download File from SFTP Server

Description Usage Arguments Value

View source: R/download_acns.R

Description

Download File from SFTP Server

Usage

1
2
3
4
5
6
7
8
download_sftp(
  file,
  usr,
  pwd,
  dir_remote = "",
  dir_local = fs::file_temp("dir"),
  server = "xfer.shelbycountytn.gov"
)

Arguments

file

File name to pull from the SFTP server. This should not include directories.

usr

Username for SFTP server

pwd

Password for SFTP server

dir_remote

Directory containing file in SFTP server

dir_local

Directory to save file to on local computer

server

Server address

Value

Path where the file is downloaded


jesse-smith/covidsms documentation built on Dec. 25, 2021, 4:24 a.m.