Cassondra Foesch
96bf4d30dc
Merge pull request #422 from greatroar/cleanup
...
Minor cleanup
2021-03-21 13:12:55 +00:00
greatroar
32b9d99cf4
Fix typos in private identifiers
2021-03-20 20:35:04 +01:00
Cassondra Foesch
91163e4463
errors.Errorf over fmt.Errorf
2021-03-17 20:17:55 +00:00
Cassondra Foesch
f1e28f8a88
Improve benchmarks and errors
2021-03-17 11:03:51 +00:00
Nicola Murino
5dbfeffd12
request-server: add StatVFS support
2021-02-10 19:13:19 +01:00
Nicola Murino
429ee173fb
make SFTP extensions configurable
2019-11-11 18:04:56 +01:00
John Eikenberry
c732bf9952
add method to get fxerr value for StatusError code
...
Need to get StatusError.Code (uint32) converted to fxerr type so you can
compare it to public (exported) ErrSSHFx[..] error types. This adds a
new method, FxCode(), to the StatusError objects to handle this case.
Did this vs trying to change types of existing fields to not break
backwards compatibility.
2019-10-13 19:18:35 -07:00
Nicola Murino
b4ea0fd6f6
fix lint issues
...
These lint issues remain:
- request-errors.go, aliases for new error types
- request-attrs.go, UidGid. Changing this will break compatibility
2019-08-30 17:04:37 +02:00
Nicola Murino
b519cb8db9
define supported extensions in one place and use for both server and request-server
2019-08-27 09:18:15 +02:00
John Eikenberry
7c1f7a3707
use ietf link for sftp spec everywhere
...
Fixes #202
2017-10-01 17:55:39 -07:00
Dave Cheney
5e9ad277fc
Use pkg/errors for error handling ( #101 )
2016-05-19 15:16:48 +10:00
Matt Layher
9374ae613d
*: golint: add and fix up comments on exported types
2016-01-07 15:16:34 -05:00
Matt Layher
b348482b1a
*: golint (part 1)
2016-01-07 12:10:24 -05:00
xiu
a0db940c14
Add reference to draft-ietf-secsh-filexfer-13
2015-12-23 20:26:29 +01:00
xiu
784a9732f5
Forgot SSH_FX_NO_MATCHING_BYTE_RANGE_LOCK
2015-12-21 17:01:33 +01:00
xiu
2fa98ff057
Adds SFTP version 6 status codes
2015-12-21 16:21:26 +01:00
Alexander Neumann
24e228535b
Check version on init
2014-10-09 21:10:54 +02:00
Andy Hochhaus
a2df54ebb9
ReadLink cleanups.
2014-09-23 14:42:28 -04:00
Sean Treadway
68aec0278e
Implement io.Seeker for *sftp.File
...
Test that reads at the seeked offset of sftp.File are consistent with
the reads of offset of os.File for the same file.
Error conditions and undefined seeks are not tested.
2014-06-11 21:17:53 +02:00
Dave Cheney
4d6ea4f122
Added OpenFile support
...
Close #3
2013-11-14 15:32:21 +11:00
Dave Cheney
2a93daf2d0
made all constants private
2013-11-06 19:10:28 +11:00
Dave Cheney
3f580d42b1
Added Client.Open method and example
2013-11-06 11:04:26 +11:00
Dave Cheney
97f68804ee
the time has come to split sftp into client and server
2013-11-05 22:16:36 +11:00
Dave Cheney
69fafb0562
Fixed attr walking, readdir now works!
2013-11-05 22:11:34 +11:00
Dave Cheney
5317de3f0c
getting closer
2013-11-05 18:12:32 +11:00
Dave Cheney
860a4f4e78
Rename sftp.ClientConn -> sftp.Client
2013-11-05 17:53:11 +11:00
Dave Cheney
aa9d9e3605
readdir isnt reading dirs properly
2013-11-05 17:33:47 +11:00
Dave Cheney
33830f9c3a
Added some janky POSIX -> os.FileMode conversion
2013-11-05 17:21:30 +11:00
Dave Cheney
69f358f7b8
Added file attribute parsing
2013-11-05 16:28:45 +11:00
Dave Cheney
a509576a54
added Walk
2013-11-05 15:32:04 +11:00
Dave Cheney
6ce8872642
Added recvPacket
2013-11-05 14:36:38 +11:00
Dave Cheney
fbcab0566f
Added initial message tests
2013-11-05 11:25:17 +11:00