• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/workflows/H06-Mar-2021-3528

examples/H06-Mar-2021-629484

server_standalone/H06-Mar-2021-5342

.gitignoreH A D06-Mar-202192 85

CONTRIBUTORSH A D06-Mar-202197 43

LICENSEH A D06-Mar-20211.3 KiB106

MakefileH A D06-Mar-2021554 1814

README.mdH A D06-Mar-20211.5 KiB4530

allocator.goH A D06-Mar-20212.1 KiB9765

allocator_test.goH A D06-Mar-20215.5 KiB136108

attrs.goH A D06-Mar-20214.9 KiB174121

attrs_stubs.goH A D06-Mar-2021158 126

attrs_test.goH A D06-Mar-20211.4 KiB4640

attrs_unix.goH A D06-Mar-2021355 1812

client.goH A D06-Mar-202145.6 KiB1,8331,322

client_integration_darwin_test.goH A D06-Mar-2021682 4131

client_integration_linux_test.goH A D06-Mar-2021979 4634

client_integration_test.goH A D06-Mar-202155.9 KiB2,6282,141

client_test.goH A D06-Mar-20214.8 KiB231199

conn.goH A D06-Mar-20214 KiB192132

debug.goH A D06-Mar-2021119 105

example_test.goH A D06-Mar-20213.3 KiB166117

fuzz.goH A D06-Mar-2021390 2314

go.modH A D06-Mar-2021261 129

go.sumH A D06-Mar-20212.1 KiB2423

match.goH A D06-Mar-20216.6 KiB296207

packet-manager.goH A D06-Mar-20215.7 KiB217152

packet-manager_test.goH A D06-Mar-20212.4 KiB128103

packet-typing.goH A D06-Mar-20214.3 KiB137113

packet.goH A D06-Mar-202128.1 KiB1,171945

packet_test.goH A D06-Mar-20218.2 KiB346311

release.goH A D06-Mar-202179 62

request-attrs.goH A D06-Mar-20212.1 KiB6439

request-attrs_test.goH A D06-Mar-20211.5 KiB5949

request-errors.goH A D06-Mar-20211.7 KiB5546

request-example.goH A D06-Mar-202113.2 KiB658471

request-interfaces.goH A D06-Mar-20213.6 KiB10543

request-plan9.goH A D06-Mar-2021166 148

request-readme.mdH A D06-Mar-20212.2 KiB5438

request-server.goH A D06-Mar-20217.5 KiB288231

request-server_test.goH A D06-Mar-202121.6 KiB835655

request-unix.goH A D06-Mar-2021400 2418

request.goH A D06-Mar-202113 KiB522421

request_test.goH A D06-Mar-20216.4 KiB253216

request_windows.goH A D06-Mar-2021167 128

server.goH A D06-Mar-202116.1 KiB709580

server_integration_test.goH A D06-Mar-202124.3 KiB877700

server_statvfs_darwin.goH A D06-Mar-2021793 2219

server_statvfs_impl.goH A D06-Mar-2021597 2918

server_statvfs_linux.goH A D06-Mar-2021480 2318

server_statvfs_plan9.goH A D06-Mar-2021248 1410

server_statvfs_stubs.goH A D06-Mar-2021283 1610

server_stubs.goH A D06-Mar-2021743 3326

server_test.goH A D06-Mar-202111.8 KiB399283

server_unix.goH A D06-Mar-20211.6 KiB5536

sftp.goH A D06-Mar-20216.6 KiB261223

sftp_test.goH A D06-Mar-20212.1 KiB7563

stat_plan9.goH A D06-Mar-20212 KiB9781

stat_posix.goH A D06-Mar-20212.3 KiB11799

syscall_fixed.goH A D06-Mar-2021270 102

syscall_good.goH A D06-Mar-2021109 93

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