|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ssh.sft.SftLib
com.ssh.sft.SftBase
com.ssh.sft.Sft
The Secure File Transfer service. The SFT service allows manipulation of files and directory hierarchies in remote hosts. The SSH Tectia Server (F) needs to be running on the remote hosts, and the SSH Tectia Broker needs to be running on the local host under the same user ID as the Java process that uses the SFT Service.
| Field Summary |
| Fields inherited from interface com.ssh.sft.SftLibConstants |
SSH_SFT_DIR_RECURSIVE, SSH_SFT_HASH_MAX_BLOCK_SIZE, SSH_SFT_HASH_MAX_ITERATIONS, SSH_SFT_HASH_MIN_BLOCK_SIZE, SSH_SFT_REQUEST_MAX_NUM, SSH_SFT_REQUEST_MAX_SIZE |
| Constructor Summary | |
Sft()
By default, the Authentication object will use the provided by us |
|
Sft(String broker_addr,
Authenticator authenticator)
Creates a new instance of the SFT service. |
|
| Method Summary | |
Location |
getLocation(URI uri)
|
File |
openFile(URI uri)
|
Session |
openLocalSession()
Opens an SFTP session to the local host as the current user. |
Session |
openSession(String user,
String hostname)
Opens a new SFTP session to a named host at port 22. |
Session |
openSession(URI uri)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Sft()
public Sft(String broker_addr,
Authenticator authenticator)
broker_addr - the broker_address to connect (set to null to
connect to default broker)authenticator - the authenticator to use. In windows, if set
to null, ssh-broker-gui will be the
authenticator.| Method Detail |
public Location getLocation(URI uri)
throws SftException
SftException
public File openFile(URI uri)
throws SftException
SftException
public Session openSession(URI uri)
throws SftException
SftException
public Session openSession(String user,
String hostname)
throws SftException
user - the user to log in ashostname - the domain name or IP address of the SFTP server
???
SftException
public Session openLocalSession()
throws SftException
???
SftException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||