restic/vendor/github.com/pkg/sftp
Alexander Neumann 19035e977b Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
..
examples Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
server_standalone Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
.gitignore Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
.travis.yml Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
CONTRIBUTORS Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
LICENSE Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
README.md Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
attrs.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
attrs_stubs.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
attrs_test.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
attrs_unix.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
client.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
client_integration_darwin_test.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
client_integration_linux_test.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
client_integration_test.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
client_test.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
conn.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
debug.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
example_test.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
match.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
other_test.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
packet-manager.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
packet-manager_test.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
packet-typing.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
packet.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
packet_test.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
release.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
request-attrs.go Update dependencies 2018-01-23 19:40:42 +01:00
request-attrs_test.go Update dependencies 2018-01-23 19:40:42 +01:00
request-errors.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
request-example.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
request-interfaces.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
request-readme.md Update dependencies 2018-01-23 19:40:42 +01:00
request-server.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
request-server_test.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
request-unix.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
request.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
request_test.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
request_windows.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
server.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
server_integration_test.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
server_statvfs_darwin.go Vendor dependencies with dep 2017-07-23 14:25:38 +02:00
server_statvfs_impl.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
server_statvfs_linux.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
server_statvfs_stubs.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
server_stubs.go Update dependencies 2017-09-13 14:09:48 +02:00
server_test.go Update vendored library github.com/pkg/sftp 2018-03-30 12:37:16 +02:00
server_unix.go Update dependencies 2017-09-13 14:09:48 +02:00
sftp.go Update dependencies 2018-01-23 19:40:42 +01: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.