Mark Sheahan
2888b4a6b1
implement read
2015-07-29 17:24:24 -07:00
Mark Sheahan
058e1bee58
open & close
2015-07-26 01:32:19 -07:00
Mark Sheahan
91d0c9e68a
mkdir
2015-07-25 19:07:33 -07:00
Mark Sheahan
5b6348f034
version, lstat
2015-07-25 01:19:29 -07:00
Dave Cheney
c020667ac1
Make c.sendRequest concurrent
...
This is an attempt to permit overlapping requests.
For each request sent, we spin off a goroutine to send the request for us
then handle _a_ response. That goroutine will try to dispatch the request
to the original sender. As every request is initiated from the client, there
will always be a matching number of replies from the server so eventally
every worker goroutine will process a request and exit.
2015-05-23 22:51:29 +10:00
Dave Cheney
50631306d7
Push c.mu.Lock/Unlock down to sendRequest
...
Also includes gofmt cleanups
2015-05-23 17:10:22 +10:00
Maximilian Pachl
0b805e96f9
added statvfs@openssh.com extension request
2015-05-15 20:37:52 +02:00
Alexander Neumann
29ed2c7341
Run gofmt
2014-10-09 21:01:38 +02:00
Dave Cheney
cbcfa1f2b9
removed unused field on fxpMkdir
...
Fixes #14 compatability issues with older sftp servers.
2014-09-28 13:02:29 +10:00
Dave Cheney
ea8e50a388
Remove unused field in fxpOpenPacket
...
Update #14
2014-09-28 13:01:15 +10:00
Dave Cheney
5f305f8c6b
Fix missing Id field in fxpRename
...
Fixes #20
2014-09-28 12:41:49 +10:00
Dave Cheney
11195960a5
Fix type that transposed capacity into length,
...
Updates #19
2014-09-28 12:39:40 +10:00
Matthieu Rakotojaona
6c93917172
Manually marshal readlink packet
2014-09-28 03:57:44 +02:00
Matthieu Rakotojaona
c01839afa0
Manually marshal packets for more speed
2014-09-27 14:29:57 +02:00
Claudio Felber
119022645a
Fixed an error in marshalUint64() that resulted in incorrect marshalling of values >= 2^24
2013-12-11 00:14:59 +01:00
Dave Cheney
69fafb0562
Fixed attr walking, readdir now works!
2013-11-05 22:11:34 +11:00
Dave Cheney
aa9d9e3605
readdir isnt reading dirs properly
2013-11-05 17:33:47 +11:00
Dave Cheney
6ce8872642
Added recvPacket
2013-11-05 14:36:38 +11:00
Dave Cheney
9187a3b3b2
adedd string unmarshal
2013-11-05 12:31:20 +11:00
Dave Cheney
30b997f450
added unmarhshal for uint32/64 yptes
2013-11-05 12:23:48 +11:00
Dave Cheney
049a0ff391
implement rudamentary reflect based marshalling
2013-11-05 12:03:58 +11:00
Dave Cheney
b17decee5f
added generic marshal
2013-11-05 11:36:47 +11:00
Dave Cheney
fbcab0566f
Added initial message tests
2013-11-05 11:25:17 +11:00