public class TransferFileResult extends RemoteFileResult
cancelled, remoteFileName
DEFAULT_NOTIFY_INTERVAL
Constructor and Description |
---|
TransferFileResult(java.lang.String localFileName,
java.lang.String remoteFileName,
WriteMode writeMode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
endAsync()
This method is called to complete the asynchronous operation.
|
java.lang.String |
getLocalFileName()
Get the local file name.
|
WriteMode |
getWriteMode()
What write mode is this operation?
|
addProgressMonitor, getRemoteFileName, isCancelled
getMinTransferNotifyPeriod, getNotifyInterval, setMinTransferNotifyPeriod, setNotifyInterval
cancelTask, endAsyncCalled, endAsyncInternal, getClient, getLocalContext, getTag, getTask, getTaskDescription, getTaskId, getThrowable, isCompleted, isSuccessful, notifyComplete, setAsIfCompleted, setClient, setEndAsyncCalled, setLocalContext, setSuccessful, setTag, setTask, setThrowable, waitTillComplete
public TransferFileResult(java.lang.String localFileName, java.lang.String remoteFileName, WriteMode writeMode)
localFileName
- local file's nameremoteFileName
- remote file's nameappend
- true if appending to remote filepublic WriteMode getWriteMode()
public java.lang.String getLocalFileName()
public void endAsync() throws java.io.IOException, FTPException
java.io.IOException
FTPException
Copyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.