Don't translate StatusPacket to os.Err(NotExist|Permission) |
||
---|---|---|
.github/workflows | ||
encoding/ssh/filexfer | ||
examples | ||
internal | ||
localfs | ||
.gitignore | ||
CONTRIBUTORS | ||
LICENSE | ||
Makefile | ||
README.md | ||
client.go | ||
client_test.go | ||
dirfs.go | ||
errno_plan9.go | ||
errno_posix.go | ||
fuzz.go | ||
go.mod | ||
go.sum | ||
longname.go | ||
longname_test.go | ||
ls_plan9.go | ||
ls_stub.go | ||
ls_unix.go | ||
server.go | ||
sftp.go | ||
unimplemented.go | ||
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.
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.