Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.07 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.07 KB

scala-sftp

An SFTP wrapper library for Jsch that embraces referential transparency and composability via Cats-effect. The library has built-in pooling support. It heavily uses the "enrich my library pattern".

Documentation

http://www.jcraft.com/jsch/

Environment Variables

These are the expected environment variable by default. However, the key names are overridable.

"SFTP_HOST" - required

"SFTP_USER" - required

"SFTP_STRICT_HOST_KEY_CHECKING" - required

"SFTP_PASSWORD" - optional

"SFTP_PORT" - optional

"SFTP_PRIVATE_KEY" - optional

Script Usage

A go wrapper is a proxy for all operations. All dependencies are managed by docker.

Usage: ./go <command> [sub-command]

Available commands are:
    sbt [cmd] SBT commands (http://www.scala-sbt.org/)
    test      Run tests