rclone/vendor/github.com/pkg/sftp
Nick Craig-Wood 6427029c4e vendor: update all dependencies
* Update all dependencies
  * Remove all `[[constraint]]` from Gopkg.toml
  * Add in the minimum number of `[[override]]` to build
  * Remove go get of github.com/inconshreveable/mousetrap as it is vendored
  * Update docs with new policy on constraints
2018-05-05 15:52:24 +01:00
..
examples vendor: update all dependencies 2017-07-23 08:51:42 +01:00
server_standalone Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
.gitignore vendor: update all dependencies 2017-07-23 08:51:42 +01:00
.travis.yml vendor: update all dependencies 2018-03-19 15:51:38 +00:00
attrs_stubs.go sftp: add required packages to vendor 2017-02-04 10:29:18 +00:00
attrs_test.go Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
attrs_unix.go sftp: add required packages to vendor 2017-02-04 10:29:18 +00:00
attrs.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
client_integration_darwin_test.go Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
client_integration_linux_test.go Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
client_integration_test.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
client_test.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
client.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
conn.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
CONTRIBUTORS sftp: add required packages to vendor 2017-02-04 10:29:18 +00:00
debug.go sftp: add required packages to vendor 2017-02-04 10:29:18 +00:00
example_test.go vendor: update all dependencies to latest versions 2018-01-16 13:20:59 +00:00
LICENSE sftp: add required packages to vendor 2017-02-04 10:29:18 +00:00
match.go vendor: update all dependencies 2017-07-23 08:51:42 +01:00
other_test.go Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
packet_test.go Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
packet-manager_test.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
packet-manager.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
packet-typing.go vendor: update github.com/pkg/sftp because dep insisted 2018-04-13 13:23:55 +01:00
packet.go vendor: update github.com/pkg/sftp because dep insisted 2018-04-13 13:23:55 +01:00
README.md Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
release.go sftp: add required packages to vendor 2017-02-04 10:29:18 +00:00
request_test.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
request_windows.go Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
request-attrs_test.go vendor: update all dependencies to latest versions 2018-01-16 13:20:59 +00:00
request-attrs.go vendor: update all dependencies to latest versions 2018-01-16 13:20:59 +00:00
request-errors.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
request-example.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
request-interfaces.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
request-readme.md vendor: update all dependencies to latest versions 2018-01-16 13:20:59 +00:00
request-server_test.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
request-server.go vendor: update github.com/pkg/sftp because dep insisted 2018-04-13 13:23:55 +01:00
request-unix.go Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
request.go vendor: update github.com/pkg/sftp because dep insisted 2018-04-13 13:23:55 +01:00
server_integration_test.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
server_statvfs_darwin.go sftp: add required packages to vendor 2017-02-04 10:29:18 +00:00
server_statvfs_impl.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
server_statvfs_linux.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
server_statvfs_stubs.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
server_stubs.go vendor: update all dependencies to latest versions 2017-09-30 15:27:27 +01:00
server_test.go vendor: update github.com/pkg/sftp because dep insisted 2018-04-13 13:23:55 +01:00
server_unix.go vendor: update all dependencies 2018-05-05 15:52:24 +01:00
server.go vendor: update github.com/pkg/sftp because dep insisted 2018-04-13 13:23:55 +01:00
sftp.go vendor: update github.com/ncw/swift to fix memory leak in swift transfers 2017-10-19 14:44:13 +01:00

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.