Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/workflows/ | H | 09-Jul-2021 | - | 35 | 28 | |
examples/ | H | 09-Jul-2021 | - | 629 | 484 | |
internal/encoding/ssh/filexfer/ | H | 09-Jul-2021 | - | 5,666 | 3,993 | |
server_standalone/ | H | 09-Jul-2021 | - | 53 | 42 | |
.gitignore | H A D | 09-Jul-2021 | 123 | 11 | 7 | |
CONTRIBUTORS | H A D | 09-Jul-2021 | 97 | 4 | 3 | |
LICENSE | H A D | 09-Jul-2021 | 1.3 KiB | 10 | 6 | |
Makefile | H A D | 09-Jul-2021 | 933 | 28 | 22 | |
README.md | H A D | 09-Jul-2021 | 1.5 KiB | 45 | 30 | |
allocator.go | H A D | 09-Jul-2021 | 2.1 KiB | 97 | 65 | |
allocator_test.go | H A D | 09-Jul-2021 | 5.5 KiB | 136 | 108 | |
attrs.go | H A D | 09-Jul-2021 | 4.9 KiB | 174 | 121 | |
attrs_stubs.go | H A D | 09-Jul-2021 | 158 | 12 | 6 | |
attrs_test.go | H A D | 09-Jul-2021 | 1.4 KiB | 46 | 40 | |
attrs_unix.go | H A D | 09-Jul-2021 | 355 | 18 | 12 | |
client.go | H A D | 09-Jul-2021 | 49 KiB | 1,966 | 1,406 | |
client_integration_darwin_test.go | H A D | 09-Jul-2021 | 682 | 41 | 31 | |
client_integration_linux_test.go | H A D | 09-Jul-2021 | 979 | 46 | 34 | |
client_integration_test.go | H A D | 09-Jul-2021 | 57.6 KiB | 2,700 | 2,196 | |
client_test.go | H A D | 09-Jul-2021 | 5.6 KiB | 260 | 220 | |
conn.go | H A D | 09-Jul-2021 | 3.8 KiB | 190 | 131 | |
debug.go | H A D | 09-Jul-2021 | 119 | 10 | 5 | |
example_test.go | H A D | 09-Jul-2021 | 3.3 KiB | 166 | 117 | |
fuzz.go | H A D | 09-Jul-2021 | 406 | 23 | 14 | |
go.mod | H A D | 09-Jul-2021 | 231 | 11 | 8 | |
go.sum | H A D | 09-Jul-2021 | 2.2 KiB | 24 | 23 | |
match.go | H A D | 09-Jul-2021 | 3.3 KiB | 138 | 86 | |
packet-manager.go | H A D | 09-Jul-2021 | 5.7 KiB | 217 | 152 | |
packet-manager_test.go | H A D | 09-Jul-2021 | 2.4 KiB | 128 | 103 | |
packet-typing.go | H A D | 09-Jul-2021 | 4.3 KiB | 136 | 113 | |
packet.go | H A D | 09-Jul-2021 | 28.1 KiB | 1,170 | 945 | |
packet_test.go | H A D | 09-Jul-2021 | 10.1 KiB | 508 | 457 | |
pool.go | H A D | 09-Jul-2021 | 1.4 KiB | 80 | 57 | |
release.go | H A D | 09-Jul-2021 | 79 | 6 | 2 | |
request-attrs.go | H A D | 09-Jul-2021 | 2.1 KiB | 64 | 39 | |
request-attrs_test.go | H A D | 09-Jul-2021 | 1.5 KiB | 59 | 49 | |
request-errors.go | H A D | 09-Jul-2021 | 1.7 KiB | 55 | 46 | |
request-example.go | H A D | 09-Jul-2021 | 13.5 KiB | 667 | 478 | |
request-interfaces.go | H A D | 09-Jul-2021 | 4 KiB | 114 | 47 | |
request-plan9.go | H A D | 09-Jul-2021 | 519 | 35 | 22 | |
request-readme.md | H A D | 09-Jul-2021 | 2.2 KiB | 54 | 38 | |
request-server.go | H A D | 09-Jul-2021 | 7.8 KiB | 296 | 239 | |
request-server_test.go | H A D | 09-Jul-2021 | 22.2 KiB | 855 | 673 | |
request-unix.go | H A D | 09-Jul-2021 | 449 | 28 | 21 | |
request.go | H A D | 09-Jul-2021 | 13 KiB | 522 | 422 | |
request_test.go | H A D | 09-Jul-2021 | 6.4 KiB | 253 | 216 | |
request_windows.go | H A D | 09-Jul-2021 | 847 | 45 | 29 | |
server.go | H A D | 09-Jul-2021 | 16.3 KiB | 712 | 582 | |
server_integration_test.go | H A D | 09-Jul-2021 | 24.6 KiB | 900 | 719 | |
server_statvfs_darwin.go | H A D | 09-Jul-2021 | 793 | 22 | 19 | |
server_statvfs_impl.go | H A D | 09-Jul-2021 | 597 | 29 | 18 | |
server_statvfs_linux.go | H A D | 09-Jul-2021 | 480 | 23 | 18 | |
server_statvfs_plan9.go | H A D | 09-Jul-2021 | 248 | 14 | 10 | |
server_statvfs_stubs.go | H A D | 09-Jul-2021 | 283 | 16 | 10 | |
server_stubs.go | H A D | 09-Jul-2021 | 743 | 33 | 26 | |
server_test.go | H A D | 09-Jul-2021 | 11.8 KiB | 399 | 283 | |
server_unix.go | H A D | 09-Jul-2021 | 1.7 KiB | 56 | 33 | |
sftp.go | H A D | 09-Jul-2021 | 6.5 KiB | 259 | 222 | |
sftp_test.go | H A D | 09-Jul-2021 | 2.1 KiB | 75 | 63 | |
stat_plan9.go | H A D | 09-Jul-2021 | 2.3 KiB | 110 | 89 | |
stat_posix.go | H A D | 09-Jul-2021 | 2.6 KiB | 128 | 107 | |
syscall_fixed.go | H A D | 09-Jul-2021 | 270 | 10 | 2 | |
syscall_good.go | H A D | 09-Jul-2021 | 109 | 9 | 3 |
README.md
1sftp 2---- 3 4The `sftp` package provides support for file system operations on remote ssh 5servers using the SFTP subsystem. It also implements an SFTP server for serving 6files from the filesystem. 7 8![CI Status](https://github.com/pkg/sftp/workflows/CI/badge.svg?branch=master&event=push) [![Go Reference](https://pkg.go.dev/badge/github.com/pkg/sftp.svg)](https://pkg.go.dev/github.com/pkg/sftp) 9 10usage and examples 11------------------ 12 13See [https://pkg.go.dev/github.com/pkg/sftp](https://pkg.go.dev/github.com/pkg/sftp) for 14examples and usage. 15 16The basic operation of the package mirrors the facilities of the 17[os](http://golang.org/pkg/os) package. 18 19The Walker interface for directory traversal is heavily inspired by Keith 20Rarick's [fs](https://pkg.go.dev/github.com/kr/fs) package. 21 22roadmap 23------- 24 25* There is way too much duplication in the Client methods. If there was an 26 unmarshal(interface{}) method this would reduce a heap of the duplication. 27 28contributing 29------------ 30 31We welcome pull requests, bug fixes and issue reports. 32 33Before proposing a large change, first please discuss your change by raising an 34issue. 35 36For API/code bugs, please include a small, self contained code example to 37reproduce the issue. For pull requests, remember test coverage. 38 39We try to handle issues and pull requests with a 0 open philosophy. That means 40we will try to address the submission as soon as possible and will work toward 41a resolution. If progress can no longer be made (eg. unreproducible bug) or 42stops (eg. unresponsive submitter), we will close the bug. 43 44Thanks. 45