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

..03-May-2022-

.github/workflows/H09-Jul-2021-3528

examples/H09-Jul-2021-629484

internal/encoding/ssh/filexfer/H09-Jul-2021-5,6663,993

server_standalone/H09-Jul-2021-5342

.gitignoreH A D09-Jul-2021123 117

CONTRIBUTORSH A D09-Jul-202197 43

LICENSEH A D09-Jul-20211.3 KiB106

MakefileH A D09-Jul-2021933 2822

README.mdH A D09-Jul-20211.5 KiB4530

allocator.goH A D09-Jul-20212.1 KiB9765

allocator_test.goH A D09-Jul-20215.5 KiB136108

attrs.goH A D09-Jul-20214.9 KiB174121

attrs_stubs.goH A D09-Jul-2021158 126

attrs_test.goH A D09-Jul-20211.4 KiB4640

attrs_unix.goH A D09-Jul-2021355 1812

client.goH A D09-Jul-202149 KiB1,9661,406

client_integration_darwin_test.goH A D09-Jul-2021682 4131

client_integration_linux_test.goH A D09-Jul-2021979 4634

client_integration_test.goH A D09-Jul-202157.6 KiB2,7002,196

client_test.goH A D09-Jul-20215.6 KiB260220

conn.goH A D09-Jul-20213.8 KiB190131

debug.goH A D09-Jul-2021119 105

example_test.goH A D09-Jul-20213.3 KiB166117

fuzz.goH A D09-Jul-2021406 2314

go.modH A D09-Jul-2021231 118

go.sumH A D09-Jul-20212.2 KiB2423

match.goH A D09-Jul-20213.3 KiB13886

packet-manager.goH A D09-Jul-20215.7 KiB217152

packet-manager_test.goH A D09-Jul-20212.4 KiB128103

packet-typing.goH A D09-Jul-20214.3 KiB136113

packet.goH A D09-Jul-202128.1 KiB1,170945

packet_test.goH A D09-Jul-202110.1 KiB508457

pool.goH A D09-Jul-20211.4 KiB8057

release.goH A D09-Jul-202179 62

request-attrs.goH A D09-Jul-20212.1 KiB6439

request-attrs_test.goH A D09-Jul-20211.5 KiB5949

request-errors.goH A D09-Jul-20211.7 KiB5546

request-example.goH A D09-Jul-202113.5 KiB667478

request-interfaces.goH A D09-Jul-20214 KiB11447

request-plan9.goH A D09-Jul-2021519 3522

request-readme.mdH A D09-Jul-20212.2 KiB5438

request-server.goH A D09-Jul-20217.8 KiB296239

request-server_test.goH A D09-Jul-202122.2 KiB855673

request-unix.goH A D09-Jul-2021449 2821

request.goH A D09-Jul-202113 KiB522422

request_test.goH A D09-Jul-20216.4 KiB253216

request_windows.goH A D09-Jul-2021847 4529

server.goH A D09-Jul-202116.3 KiB712582

server_integration_test.goH A D09-Jul-202124.6 KiB900719

server_statvfs_darwin.goH A D09-Jul-2021793 2219

server_statvfs_impl.goH A D09-Jul-2021597 2918

server_statvfs_linux.goH A D09-Jul-2021480 2318

server_statvfs_plan9.goH A D09-Jul-2021248 1410

server_statvfs_stubs.goH A D09-Jul-2021283 1610

server_stubs.goH A D09-Jul-2021743 3326

server_test.goH A D09-Jul-202111.8 KiB399283

server_unix.goH A D09-Jul-20211.7 KiB5633

sftp.goH A D09-Jul-20216.5 KiB259222

sftp_test.goH A D09-Jul-20212.1 KiB7563

stat_plan9.goH A D09-Jul-20212.3 KiB11089

stat_posix.goH A D09-Jul-20212.6 KiB128107

syscall_fixed.goH A D09-Jul-2021270 102

syscall_good.goH A D09-Jul-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