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.Debug
digest, 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, unsetFileTransferListener
getResult, getServerException, getServerResponse, getSocket, identifyClient, init, 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 BasicClient.Debug getDebugObject()
public long getBytesSent()
public final void setDelay(int seconds)
public java.lang.String getFileHash()
ClientCommand
null
if not applicable