iwita 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
..
.gitignore 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
.travis.yml 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
BUILD 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
CONTRIBUTORS 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
LICENSE 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
README.md 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
attrs.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
attrs_stubs.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
attrs_unix.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
client.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
conn.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
debug.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
packet.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
release.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
server.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
server_statvfs_darwin.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
server_statvfs_impl.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
server_statvfs_linux.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
server_statvfs_stubs.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
server_stubs.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
server_unix.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos
sftp.go 21196b4a6d added v1.15.4 %!s(int64=5) %!d(string=hai) anos

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.