public class PUTClientCommand extends FileTransferClientCommand
| Property | Type | Description |
|---|---|---|
| host | String | The host of the Default plugin |
| port | int | The port of the Default plugin |
| file | String | The local file path |
| session | String | The Session of the user that uploads. Optional if security is off on the CFS. |
| String | The subdirectory that should be used at server side. Server may decide to ignore this value. | |
| String | The Application Element ID where to attach this file to. Server may decide to ignore this value | |
| String | The Instance Element ID where to attach this file to. Server may decide to ignore this value |
BasicClient.Debugdigest, listener| Constructor and Description |
|---|
PUTClientCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doRun()
This method will execute the command itself.
|
long |
getBytesSent() |
BasicClient.Debug |
getDebugObject() |
java.lang.String |
getFileHash()
Returns the hash value of the file that was transferred.
|
void |
setDelay(int seconds) |
setFileTransferListener, unsetFileTransferListenergetResult, getServerException, getServerResponse, getSocket, identifyClient, init, readResponse, run, setException, setResult, setServerRepsonse, setSocket, setSocketTimeOutprotected void doRun()
throws java.io.IOException
BasicClientBasicClient.run()doRun in class BasicClientjava.io.IOExceptionpublic BasicClient.Debug getDebugObject()
public long getBytesSent()
public final void setDelay(int seconds)
public java.lang.String getFileHash()
ClientCommandnull
if not applicable