make the StatusError language tag optional
1 file changed
tree: 513adb7f5bd53edb13c4fde5011f073705d99de7
  1. examples/
  2. server_standalone/
  3. .gitignore
  4. attrs.go
  5. attrs_stubs.go
  6. attrs_test.go
  7. attrs_unix.go
  8. client.go
  9. client_integration_darwin_test.go
  10. client_integration_linux_test.go
  11. client_integration_test.go
  12. client_test.go
  13. CONTRIBUTORS
  14. debug.go
  15. example_test.go
  16. LICENSE
  17. packet.go
  18. packet_test.go
  19. README.md
  20. release.go
  21. server.go
  22. server_integration_test.go
  23. server_stubs.go
  24. server_unix.go
  25. sftp.go
  26. wercker.yml
README.md

sftp

The sftp package provides support for file system operations on remote ssh servers using the SFTP subsystem.

wercker status

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

  • Currently all traffic with the server is serialized, this can be improved by allowing overlapping requests/responses.
  • 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.
  • Implement integration tests by talking directly to a real opensftp-server process. This shouldn't be too difficult to implement with a small refactoring to the sftp.NewClient method. These tests should be gated on an -sftp.integration test flag. in progress

contributing

Features, Issues, and Pull Requests are always welcome.