com.mindbright.ssh2
public class SSH2SFTPFactory extends java.lang.Object implements SSHFileTransferFactory
SSH2SFTPTransfer
instances.Constructor and Description |
---|
SSH2SFTPFactory() |
Modifier and Type | Method and Description |
---|---|
SSHFileTransfer |
create(MindTermApp client,
java.io.File cwd)
Create a new instance which uses the given client and strats
in the given directory.
|
public SSHFileTransfer create(MindTermApp client, java.io.File cwd) throws java.lang.Exception
SSHFileTransferFactory
create
in interface SSHFileTransferFactory
client
- connected SSH client to transfer files overcwd
- start directoryjava.lang.Exception