public class GETClientCommand extends FileTransferClientCommand
Property | Type | Description |
---|---|---|
host | String | The host of the Default plugin |
port | int | The port of the Default plugin |
file | String | The URI given by a previous PUT call. This is a unique identifier on the server. |
session | String | The Session of the user that uploads. Optional if security is off on the CFS. |
localfile | String | The locale file path where the file should be written to. |
BasicClient.Debug
digest, listener
Constructor and Description |
---|
GETClientCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
doRun()
This method will execute the command itself.
|
java.lang.String |
getFileHash()
Returns the hash value of the file that was transferred.
|
void |
init(java.util.Properties properties)
Initializes the ClientCommand with a set of properties.
|
setFileTransferListener, unsetFileTransferListener
getResult, getServerException, getServerResponse, getSocket, identifyClient, readResponse, run, setException, setResult, setServerRepsonse, setSocket, setSocketTimeOut
protected void doRun() throws java.io.IOException
BasicClient
BasicClient.run()
doRun
in class BasicClient
java.io.IOException
public void init(java.util.Properties properties)
ClientCommand
init
in interface ClientCommand
init
in class BasicClient
properties
- a set of properties for the command to usepublic java.lang.String getFileHash()
null
if not applicable