route/vendor/github.com/pkg/sftp
Cadey Ratio 18a2049013 cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
..
.gitignore cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
.travis.yml cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
CONTRIBUTORS cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
LICENSE cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
README.md cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
attrs.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
attrs_stubs.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
attrs_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
attrs_unix.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
client.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
client_integration_darwin_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
client_integration_linux_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
client_integration_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
client_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
conn.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
debug.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
example_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
match.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
other_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
packet-manager.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
packet-manager_go1.8.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
packet-manager_legacy.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
packet-manager_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
packet-typing.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
packet.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
packet_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
release.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
request-attrs.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
request-attrs_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
request-example.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
request-interfaces.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
request-readme.md cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
request-server.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
request-server_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
request-unix.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
request.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
request_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
request_windows.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
server.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
server_integration_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
server_statvfs_darwin.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
server_statvfs_impl.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
server_statvfs_linux.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
server_statvfs_stubs.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
server_stubs.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
server_test.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
server_unix.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00
sftp.go cmd/construct: start work on eclier frontend 2018-01-21 20:28:06 -08:00

README.md

sftp

The sftp package provides support for file system operations on remote ssh servers using the SFTP subsystem. It also implements an SFTP server for serving files from the filesystem.

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.

For API/code bugs, please include a small, self contained code example to reproduce the issue. For pull requests, remember test coverage.

We try to handle issues and pull requests with a 0 open philosophy. That means we will try to address the submission as soon as possible and will work toward a resolution. If progress can no longer be made (eg. unreproducible bug) or stops (eg. unresponsive submitter), we will close the bug.

Thanks.