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.Debugdigest, 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, unsetFileTransferListenergetResult, getServerException, getServerResponse, getSocket, identifyClient, readResponse, run, setException, setResult, setServerRepsonse, setSocket, setSocketTimeOutprotected void doRun()
throws java.io.IOException
BasicClientBasicClient.run()doRun in class BasicClientjava.io.IOExceptionpublic void init(java.util.Properties properties)
ClientCommandinit in interface ClientCommandinit in class BasicClientproperties - a set of properties for the command to usepublic java.lang.String getFileHash()
null
if not applicable