https://github.com/pkg/sftp
SFTP support for the go.crypto/ssh package
https://github.com/pkg/sftp
go sftp
Last synced: 7 months ago
JSON representation
SFTP support for the go.crypto/ssh package
- Host: GitHub
- URL: https://github.com/pkg/sftp
- Owner: pkg
- License: bsd-2-clause
- Created: 2013-11-05T04:36:00.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2025-04-01T14:01:21.000Z (8 months ago)
- Last Synced: 2025-05-07T06:17:52.562Z (7 months ago)
- Topics: go, sftp
- Language: Go
- Size: 2.88 MB
- Stars: 1,569
- Watchers: 55
- Forks: 385
- Open Issues: 47
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go-cn - sftp - project.org/specs/draft-ietf-secsh-filexfer-02.txt>所示。 [![godoc][D]](https://godoc.org/github.com/pkg/sftp) (网络 / 音译)
- go-awesome - sftp - SFTP support for the `go.crypto/ssh` package (开源类库 / 网络)
- fucking-awesome-go - :octocat: sftp - Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt. :star: 260 :fork_and_knife: 80 (Networking / Advanced Console UIs)
- awesome-go - sftp - Package sftp implements the SSH File Transfer Protocol as described in <https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt>. (Networking / Transliteration)
- awesome-go - sftp - Package sftp implements the SSH File Transfer Protocol as described in <https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt>. (Networking / Transliteration)
- awesome-go - sftp - Package sftp implements the SSH File Transfer Protocol as described in <https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt>. Stars:`1.6K`. (Networking / Transliteration)
- go-awesome - sftp - SFTP support for the "go.crypto/ssh" package. (Open source library / The Internet)
- awesome-go - sftp - Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt. - :arrow_down:342 - :star:285 (Networking / Strings)
- awesome-go - sftp - Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt. (Networking / Advanced Console UIs)
- awesome-go-zh - sftp - project.org/specs/draft-ietf-secsh-filexfer-02.txt>. (网络 / 交流)
- fucking-awesome-go - sftp - Package sftp implements the SSH File Transfer Protocol as described in <https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt>. (Networking / Transliteration)
- awesome-go - sftp - project.org/specs/draft-ietf-secsh-filexfer-02.txt. | - | - | - | (Networking / Strings)
- awesome-go - sftp - Package sftp implements the SSH File Transfer Protocol as described in <https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt>. (Networking / Transliteration)
- awesome-go-plus - sftp - Package sftp implements the SSH File Transfer Protocol as described in <https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt>.  (Networking / Transliteration)
- awesome-go-cn - sftp - project.org/specs/draft-ietf-secsh-filexfer-02.txt中的说明执行SSH文件传输协议。 (Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt.) (网络 / Advanced Console UIs)
- awesome-go - sftp - SFTP support for the go.crypto/ssh package - ★ 575 (Networking)
- awesome-go-with-stars - sftp - Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt. (Networking / Transliteration)
- awesome-go - sftp - Package sftp implements the SSH File Transfer Protocol as described in <https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt>. (Networking / Transliteration)
- awesome-go - sftp - Package sftp implements the SSH File Transfer Protocol as described in <https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt>. (Networking / Transliteration)
- awesome-Char - sftp - Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt. (Networking / Uncategorized)
- awesome-golang-repositories - sftp
- awesome-go - pkg/sftp
- awesome-go-cn - sftp - project.org/specs/draft-ietf-secsh-filexfer-02.txt>所示。 [![godoc][D]](https://godoc.org/github.com/pkg/sftp) (网络 / 音译)
- awesome-ssh - sftp - *SFTP* support for the go.crypto/ssh package. (Libraries / Alternatives to *SSH*)
- awesome-go - sftp - Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt. (Networking / Strings)
- awesome-go-cn - sftp - project.org/specs/draft-ietf-secsh-filexfer-02.txt](https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt) 中描述的 SSH 文件传输协议 (网络相关库 / 暂未分类)
- awesome-go-extra - sftp - 11-05T04:36:00Z|2022-07-16T07:56:14Z| (Networking / Uncategorized)
- awesome-go - sftp - Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt. (<span id="网络-networking">网络 Networking</span> / <span id="高级控制台用户界面-advanced-console-uis">高级控制台用户界面 Advanced Console UIs</span>)
- zero-alloc-awesome-go - sftp - Package sftp implements the SSH File Transfer Protocol as described in <https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt>. (Networking / Transliteration)
- awesome-ssh - sftp - *SFTP* support for the go.crypto/ssh package. (Libraries / Alternatives to *SSH*)
README
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 filesystem.
 [](https://pkg.go.dev/github.com/pkg/sftp)
usage and examples
------------------
See [https://pkg.go.dev/github.com/pkg/sftp](https://pkg.go.dev/github.com/pkg/sftp) for
examples and usage.
The basic operation of the package mirrors the facilities of the
[os](http://golang.org/pkg/os) package.
The Walker interface for directory traversal is heavily inspired by Keith
Rarick's [fs](https://pkg.go.dev/github.com/kr/fs) package.
roadmap
-------
* There is way too much duplication in the Client methods. If there was an
unmarshal(interface{}) method this would reduce a heap of the duplication.
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.