Shikhar Bhushan
ce930c969b
Lighter, more coherent interfaces by refactoring LocalFile into LocalSourceFile & LocalDestFile
2011-04-06 23:37:55 +01:00
Shikhar Bhushan
a2c82de260
Carrying on with the file transfer interface refactoring
...
* Got rid of ModeGetter/ModeSetter, moved that to LocalFile
* Instead of InMemoryFile now InMemorySourceFile (wraps istream) and InMemoryDestFile (wraps ostream)
* Uploading with a LocalFile instance rather than String path
2011-04-05 21:51:03 +01:00
Shikhar Bhushan
2e70b56ba3
License header update
2011-04-05 11:12:25 +01:00
Cyril Ledru
9761f44cd4
LocalFile abstraction in SFTPFileTransfer
...
Upload method using LocalFile in FileTransfer.
Use only LocalFile in SFTPFileTransfer Upload.
2011-04-03 17:31:04 +08:00
Cyril Ledru
137dc5ed42
Encapsulate SCPEngine
...
No more SCPEngine variable exposed to the outside.
2011-04-03 17:31:03 +08:00
Cyril Ledru
286a22270b
Decoupling between SCP*Clients and SCPEngine
...
Encapsulate listener inside SCPEngine.
Remove string path in UploadClient.
2011-04-03 17:31:03 +08:00
Cyril Ledru
aa9f4e192f
Remove inheritance coupling between SCP*Clients
...
Use delegation to SCPEngine instead of inheritance.
Remove methods using String path for source file.
2011-04-03 17:31:03 +08:00
Cyril Ledru
41ac277023
Can scp a file without it being on the file system
...
Introduced an abstraction of a file and two concrete implementation of it:
one "in memory" file and a file on the file system.
2011-04-03 17:31:02 +08:00
Shikhar Bhushan
2880fe2bc0
Some more cleanups for handling disconnects
2011-03-14 20:36:49 +00:00
Shikhar Bhushan
ce5fad9809
Add DisconnectListener, refactor tests
2011-03-13 22:51:35 +00:00
Incendium
d9c438ed16
Fixed issue with StatefulSFTPClient.put not transferring files.
2011-03-01 14:53:12 -08:00
Shikhar Bhushan
653e8ad4f2
In SCP, warning means error...
2011-02-27 20:48:26 +00:00
Shikhar Bhushan
c46dc913e8
A Config suitable for running with Android 2.3+
2011-02-12 23:25:32 +00:00
Shikhar Bhushan
069ebbd47d
Try and be helpful on SessionChannel reuse with a more explicit error condition
2011-02-12 20:25:26 +00:00
Shikhar Bhushan
da2cec8fa2
Add a timed join() method to Channel, update Exec example
2011-02-12 20:23:58 +00:00
Shikhar Bhushan
75caa8bcf3
Need to fix my intellij setup on linux...
2010-12-30 22:48:09 +00:00
shikhar
70f3aeee68
SessionChannel should override notifyError() in order to notify the stderr stream
2010-12-30 22:43:00 +00:00
Shikhar Bhushan
946422112d
can only help
2010-08-15 19:01:57 +01:00
Shikhar Bhushan
c8de9ed915
add Channel.join()
2010-08-13 23:01:35 +01:00
Shikhar Bhushan
0aa8d5e141
.
2010-08-12 17:34:49 +01:00
Shikhar Bhushan
2e32bb9aca
simplify
2010-08-12 17:31:42 +01:00
Shikhar Bhushan
2f4fa62b14
simplify
2010-08-12 17:22:35 +01:00
Shikhar Bhushan
8a4367cc7a
minor doc update
2010-08-12 17:19:28 +01:00
Shikhar Bhushan
168272ad3b
simplify DisconnectReason enum
2010-08-10 00:30:59 +01:00
Shikhar Bhushan
17eb5cff0f
consolidate bitmask logic and fix subtle bug...
2010-08-08 17:55:30 +01:00
Shikhar Bhushan
ebd5036d64
enum reverse cache objects
2010-08-08 17:45:48 +01:00
Shikhar Bhushan
7797d774ac
fixing up hostbased auth
2010-08-07 22:35:38 +01:00
Shikhar Bhushan
888a8f60d7
ws
2010-08-07 22:34:09 +01:00
Shikhar Bhushan
974e88efb4
no need to actually have API client specify sftp protocol version, so long as all versions < MAX_SUPPORTED_VERSIONS are supported. which is true for now!
2010-08-06 22:29:43 +01:00
Shikhar Bhushan
9a4a24737f
incorrect sftp version compatibility check
2010-08-06 22:15:42 +01:00
Shikhar Bhushan
a1d17982ae
public -> protected
2010-08-06 22:10:35 +01:00
Shikhar Bhushan
3beee8350d
support sftp versions < 3
2010-08-06 00:02:21 +01:00
Shikhar Bhushan
3cd446b462
dumb
2010-08-06 00:01:51 +01:00
Shikhar Bhushan
486dbf2b05
unused var
2010-08-01 18:34:04 +01:00
Shikhar Bhushan
3cb235bbfd
cleanup in transport.Heartbeater
2010-08-01 18:32:06 +01:00
Shikhar Bhushan
2882129211
reduce reliance on implicit channel close; add close() method to SFTP classes; update examples
2010-07-28 23:53:26 +01:00
Shikhar Bhushan
fb97ccb67c
in ConnectionImpl#notifyDisconnect() -- why try to close channels politely, they should just be discarded
2010-07-20 23:48:05 +01:00
Shikhar Bhushan
8b21eff1d2
userauth failure log as debug and not error -- if it leads to error it will be raised as an exception anyway
2010-07-20 23:43:48 +01:00
Shikhar Bhushan
7874e7dbfd
always use class name for making Loggers
2010-07-20 23:39:51 +01:00
Shikhar Bhushan
efc7702195
one log message is enough
2010-06-29 22:23:24 +01:00
Shikhar Bhushan
34a7b8e065
fixing the fix, just wow...
2010-06-25 22:09:51 +01:00
Shikhar Bhushan
50c42b97a3
sp
2010-06-18 23:10:05 +01:00
Shikhar Bhushan
826660ab3f
narrow down error condition: more data is ok, underflow is not
2010-06-17 18:55:53 +01:00
Shikhar Bhushan
a3b6fde44a
useless params, useless check, overkill...
2010-06-16 23:52:24 +01:00
Shikhar Bhushan
69555e9c74
update client version ident
2010-06-16 23:18:06 +01:00
Shikhar Bhushan
9c51b862cd
can't throw exception, shit fails on windows
2010-06-12 23:10:47 +01:00
Shikhar Bhushan
b2a74935d4
added maven assembly plugin config. for packaging examples
2010-05-31 00:01:18 +01:00
Shikhar Bhushan
f3c072fb06
keybased auth cleanups
2010-05-24 23:51:24 +01:00
Shikhar Bhushan
738b317dcf
more versatile password response provider
2010-05-24 23:20:49 +01:00
Shikhar Bhushan
d87e0c2da2
logging statement
2010-05-24 22:55:28 +01:00