use BigEndian.Append funcs and change MarshalSize semantics to include the whole packet
16 files changed
tree: 3a47c93802a81fb33aa7728058440ce040091ae3
  1. .github/
  2. encoding/
  3. examples/
  4. internal/
  5. localfs/
  6. .gitignore
  7. client.go
  8. client_test.go
  9. CONTRIBUTORS
  10. dirfs.go
  11. errno_plan9.go
  12. errno_posix.go
  13. fuzz.go
  14. go.mod
  15. go.sum
  16. LICENSE
  17. longname.go
  18. longname_test.go
  19. ls_plan9.go
  20. ls_stub.go
  21. ls_unix.go
  22. Makefile
  23. README.md
  24. server.go
  25. server_test.go
  26. sftp.go
  27. unimplemented.go
  28. unimplemented_test.go
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 local filesystem.

CI Status Go Reference

usage and examples

See https://pkg.go.dev/github.com/pkg/sftp/v2 for examples and usage.

The basic operation of the client mirrors the facilities of the os package.

The basic interface of the server handler follows the design of gRPC.

roadmap

  • Extensive testing is necessary to validate that functionality has not been lost.

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.