The Secure File Transfer service. The SFT service allows manipulation of files and directory hierarchies in remote hosts. The SSH Tectia Server 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.
Returns the Location of a given file. This call will open a Session if needed, (if there is a session already open to the same host, it will reuse that given session). If broker does not have a connection to the server, connects to the server first. In this case, the authenticator may be called before returning.
Opens a new SFTP session using the username, host and port specified in the URI. It does not reuse already existing SFTP sessions. If necessary, connects to the server first. In this case, the authenticator may be called before returning. It uses the broker_address and the authenticator providen to the constructor of the Sft.
uri - the URI where username, host and port is specified.