Class SftpAdapter

java.lang.Object
net.jalbum.remotefs.sftp.SftpAdapter
All Implemented Interfaces:
RemoteFS

public class SftpAdapter extends Object implements RemoteFS
SFTP implementation of RemoteFS interface.
Adapter class to adapt external component JSCH to RemoteFS interface.
See http://www.jcraft.com/jsch/index.html
Only SFTP capabilities of JSCH are used by this adapter.

During an SFTP connection, UTF-8 is always used for data transfer. Furthermore JSCH uses JZLib to compress the data send to the server.
PassiveMode does not apply to SFTP since it only uses 1 port: default port 22.