sftpR: Robust SFTP Interface Using 'curl'

Provides a high-level, object-oriented interface for Secure File Transfer Protocol (SFTP) operations built upon the 'curl' package. The package implements an 'R6' class to manage persistent connections and provides 'tidyverse'-style functions for common file system tasks. Key features include recursive directory creation with idempotency support, "smart" local path resolution that distinguishes between files and directories, and the ability to download remote resources directly into memory as raw vectors for seamless integration into data processing pipelines. It is designed to handle common SFTP edge cases gracefully, providing informative error messages and robust path sanitization to ensure compatibility across different server configurations.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: curl (≥ 7.0.0), R6 (≥ 2.6.1)
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-04-09
DOI: 10.32614/CRAN.package.sftpR (may not be active yet)
Author: Michael Kuo [aut, cre]
Maintainer: Michael Kuo <michael.kuo at bccdc.ca>
BugReports: https://github.com/mikuo0628/sftpR/issues
License: MIT + file LICENSE
URL: https://mikuo0628.github.io/sftpR/, https://github.com/mikuo0628/sftpR
NeedsCompilation: no
SystemRequirements: libcurl: libcurl (with libssh2 support)
Materials: README, NEWS
CRAN checks: sftpR results

Documentation:

Reference manual: sftpR.html , sftpR.pdf
Vignettes: SFTP-testing-envs (source)

Downloads:

Package source: sftpR_0.2.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sftpR to link to this page.