k3s/vendor/github.com/pkg/sftp
Darren Shepherd 8031137b79 Update vendor 2019-08-30 23:08:05 -07:00
..
.gitignore Update vendor 2019-08-30 23:08:05 -07:00
.travis.yml Update vendor 2019-08-30 23:08:05 -07:00
CONTRIBUTORS Update vendor 2019-08-30 23:08:05 -07:00
LICENSE Update vendor 2019-08-30 23:08:05 -07:00
README.md Update vendor 2019-08-30 23:08:05 -07:00
attrs.go Update vendor 2019-08-30 23:08:05 -07:00
attrs_stubs.go Update vendor 2019-08-30 23:08:05 -07:00
attrs_unix.go Update vendor 2019-08-30 23:08:05 -07:00
client.go Update vendor 2019-08-30 23:08:05 -07:00
conn.go Update vendor 2019-08-30 23:08:05 -07:00
debug.go Update vendor 2019-08-30 23:08:05 -07:00
packet.go Update vendor 2019-08-30 23:08:05 -07:00
release.go Update vendor 2019-08-30 23:08:05 -07:00
server.go Update vendor 2019-08-30 23:08:05 -07:00
server_statvfs_darwin.go Update vendor 2019-08-30 23:08:05 -07:00
server_statvfs_impl.go Update vendor 2019-08-30 23:08:05 -07:00
server_statvfs_linux.go Update vendor 2019-08-30 23:08:05 -07:00
server_statvfs_stubs.go Update vendor 2019-08-30 23:08:05 -07:00
server_stubs.go Update vendor 2019-08-30 23:08:05 -07:00
server_unix.go Update vendor 2019-08-30 23:08:05 -07:00
sftp.go Update vendor 2019-08-30 23:08:05 -07:00

README.md

sftp

The sftp package provides support for file system operations on remote ssh servers using the SFTP subsystem.

UNIX Build Status GoDoc

usage and examples

See godoc.org/github.com/pkg/sftp for examples and usage.

The basic operation of the package mirrors the facilities of the os package.

The Walker interface for directory traversal is heavily inspired by Keith Rarick's fs package.

roadmap

  • There is way too much duplication in the Client methods. If there was an unmarshal(interface{}) method this would reduce a heap of the duplication.

contributing

We welcome pull requests, bug fixes and issue reports.

Before proposing a large change, first please discuss your change by raising an issue.