public static class FtpTransport.Request extends AbstractTransportRequest<FtpTransport>
AbstractTransportRequest.TransferException| Constructor and Description |
|---|
FtpTransport.Request(FtpTransport transport,
File exportFile) |
FtpTransport.Request(FtpTransport transport,
File exportFile,
String stampFileName) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.commons.net.ftp.FTPClient |
doConnect(ExportContext context) |
protected void |
doDisconnect(org.apache.commons.net.ftp.FTPClient client) |
protected org.apache.commons.net.ftp.FTPClient |
doReconnect(String path) |
protected void |
doSend(File srcFile,
String destPath,
int retryCount,
ImmoToolTask.Callback callback) |
protected void |
doTransportFinish(org.apache.commons.net.ftp.FTPClient client,
File exportFile,
ExportContext context,
ImmoToolTask.Callback callback) |
protected void |
doTransportInit(org.apache.commons.net.ftp.FTPClient client,
File exportFile,
ExportContext context,
ImmoToolTask.Callback callback) |
AbstractTransportRequest[] |
getChildRequests() |
protected org.apache.commons.net.ftp.FTPClient |
getCurrentFtpClient() |
String |
getStampFileName() |
String |
getTitle() |
void |
send(ExportContext context,
ImmoToolTask.Callback callback) |
buildFileList, getTransportpublic FtpTransport.Request(FtpTransport transport, File exportFile)
public FtpTransport.Request(FtpTransport transport, File exportFile, String stampFileName)
protected org.apache.commons.net.ftp.FTPClient doConnect(ExportContext context) throws IOException, FtpTransport.AuthenticationFailedException
protected void doDisconnect(org.apache.commons.net.ftp.FTPClient client)
protected final org.apache.commons.net.ftp.FTPClient doReconnect(String path) throws IOException, FtpTransport.AuthenticationFailedException
protected void doSend(File srcFile, String destPath, int retryCount, ImmoToolTask.Callback callback) throws FtpTransport.CommunicationFailedException, FtpTransport.TransferFailedException, FtpTransport.AuthenticationFailedException, CancellationException
protected void doTransportFinish(org.apache.commons.net.ftp.FTPClient client,
File exportFile,
ExportContext context,
ImmoToolTask.Callback callback)
throws IOException,
CancellationException
IOExceptionCancellationExceptionprotected void doTransportInit(org.apache.commons.net.ftp.FTPClient client,
File exportFile,
ExportContext context,
ImmoToolTask.Callback callback)
throws IOException,
CancellationException
IOExceptionCancellationExceptionpublic AbstractTransportRequest[] getChildRequests()
getChildRequests in class AbstractTransportRequest<FtpTransport>protected final org.apache.commons.net.ftp.FTPClient getCurrentFtpClient()
public final String getStampFileName()
public String getTitle()
getTitle in class AbstractTransportRequest<FtpTransport>public void send(ExportContext context, ImmoToolTask.Callback callback) throws AbstractTransportRequest.TransferException
send in class AbstractTransportRequest<FtpTransport>AbstractTransportRequest.TransferExceptionCopyright © 2015 OpenEstate. All rights reserved.