Go to file
Dave Cheney 00ebe49c26 Merge pull request #7 from nemith/master
Mkdir and remove directory, Chtimes, and marshal error
2014-05-25 14:32:44 +10:00
examples/gsftp Change log.Fatal to log.Fatalf 2014-05-13 23:09:14 -04:00
CONTRIBUTORS Update CONTRIBUTORS 2014-04-18 12:31:59 +03:00
LICENCE added LICENCE and CONTRIBUTORS 2013-11-05 15:32:22 +11:00
README.md - Fix a typo seralised -> serialized 2013-11-06 11:02:52 +02:00
attrs.go made all constants private 2013-11-06 19:12:25 +11:00
attrs_test.go made all constants private 2013-11-06 19:12:25 +11:00
client.go Merge from nemith-master 2014-05-25 14:31:57 +10:00
client_integration_test.go Fixed Read, removed ReadAt 2013-11-15 22:04:14 +11:00
client_test.go Added OpenFile support 2013-11-14 15:32:21 +11:00
example_test.go Fixed incompatibility with latest code.google.com/p/go.crypto/ssh 2014-04-10 15:37:10 +03:00
packet.go Fixed an error in marshalUint64() that resulted in incorrect marshalling of values >= 2^24 2013-12-11 00:14:59 +01:00
packet_test.go Fix test 2014-05-25 14:27:01 +10:00
sftp.go Added OpenFile support 2013-11-14 15:32:21 +11:00

README.md

sftp

The sftp package provides support for file system operations on remote ssh servers using the SFTP subsystem.

Build Status

usage and examples

See godoc.org/github.com/pkg/sftp for examples and usage.

The basic operation of the package mirrors the facilities of the os package.

The Walker interface for directory traversal is heavily inspired by Keith Rarick's fs package.

roadmap

  • Currently all traffic with the server is serialized, this can be improved by allowing overlapping requests/responses.
  • 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.
  • Implement integration tests by talking directly to a real opensftp-server process. This shouldn't be too difficult to implement with a small refactoring to the sftp.NewClient method. These tests should be gated on an -sftp.integration test flag. in progress

contributing

Features, Issues, and Pull Requests are always welcome.