GNDMS 0.6.0
RESTful verison of GNDMS
|
A GridFTPClient factory for clients without a GSSCredential authentification. More...
Public Member Functions | |
GridFTPClient | createClient (String host, int port, CredentialProvider cp) throws ServerException, IOException |
Returns a GridFTPClient, which is connected to a server with the given hostname using the denoted port value. |
A GridFTPClient factory for clients without a GSSCredential authentification.
User: mjorra, Date: 30.09.2008, Time: 13:29:57
GridFTPClient de.zib.gndms.taskflows.filetransfer.server.network.SimpleGridFTPClientFactory.createClient | ( | String | host, |
int | port, | ||
CredentialProvider | cp | ||
) | throws ServerException, IOException |
Returns a GridFTPClient, which is connected to a server with the given hostname using the denoted port value.
No GSSCredential authentification is required.
host | the hostname of the server |
port | the port value used for a connection to the server |
cp | is ignored |
ServerException | |
IOException |
{ GridFTPClient clnt = new GridFTPClient( host, port ); cp.installCredentials( clnt ); return clnt; }