summaryrefslogtreecommitdiff
path: root/src/AbstractCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-05-10 00:00:23 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-05-10 00:00:23 +0900
commit82ba00320923319943cfb79282ada5aaad4d5334 (patch)
tree15784f385686810aca982db1f8c8413ac7ac3348 /src/AbstractCommand.cc
parent4654f1974a5faa832518ba3875ecb3e77224e656 (diff)
Add basic ssh/sftp code to SocketCore and introduce SSHSession
We use libssh2 to implement sftp feature. SSHSession is closely designed to TLSSession, but it differs in several aspects. In this code, we only implements read part of sftp, since aria2 won't offer uploading feature. Adding SSH/sftp to SocketCore is a bit bloat. But by doing this we can reuse DownloadCommand, without mostly no modification. We can just create SSHDownloadCommand by inheriting it, just like existing ftp.
Diffstat (limited to 'src/AbstractCommand.cc')
0 files changed, 0 insertions, 0 deletions