rclone/vendor/github.com/pkg/sftp
2019-05-24 15:03:23 +01:00
..
.gitignore vendor: update all dependencies 2017-07-23 08:51:42 +01:00
.travis.yml vendor: update github.com/pkg/sftp to fix sftp client issues 2019-05-24 15:03:23 +01:00
attrs.go vendor: update all dependencies 2018-06-17 17:59:12 +01:00
attrs_stubs.go sftp: add required packages to vendor 2017-02-04 10:29:18 +00:00
attrs_unix.go vendor: update to latest versions of everything 2018-09-21 18:23:37 +01:00
client.go vendor: update github.com/pkg/sftp to fix sftp client issues 2019-05-24 15:03:23 +01:00
conn.go vendor: update all dependencies 2019-02-10 20:55:16 +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
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
packet-manager.go vendor: update all dependencies 2019-02-10 20:55:16 +00:00
packet-typing.go vendor: update to latest versions of everything 2018-09-21 18:23:37 +01:00
packet.go vendor: update to latest versions of everything 2018-09-21 18:23:37 +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-attrs.go vendor: update all dependencies 2018-06-17 17:59:12 +01:00
request-errors.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
request-example.go vendor: update all dependencies 2019-02-10 20:55:16 +00:00
request-interfaces.go vendor: update all dependencies 2018-06-17 17:59:12 +01:00
request-readme.md vendor: update all dependencies to latest versions 2018-01-16 13:20:59 +00:00
request-server.go vendor: update all dependencies 2019-02-10 20:55:16 +00: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 all dependencies 2019-02-10 20:55:16 +00:00
request_windows.go Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
server.go vendor: update to latest versions of everything 2018-09-21 18:23:37 +01: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 to latest versions of everything 2018-09-21 18:23:37 +01:00
server_statvfs_linux.go vendor: update all dependencies 2018-03-19 15:51:38 +00:00
server_statvfs_stubs.go vendor: update to latest versions of everything 2018-09-21 18:23:37 +01:00
server_stubs.go vendor: update all dependencies to latest versions 2017-09-30 15:27:27 +01:00
server_unix.go vendor: update to latest versions of everything 2018-09-21 18:23:37 +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.