public class TransferImplJftp extends Object implements TransferItf, net.sf.jftp.net.ConnectionListener
Modifier and Type | Field and Description |
---|---|
private boolean |
established |
private net.sf.jftp.net.ConnectionHandler |
handler |
Constructor and Description |
---|
TransferImplJftp() |
Modifier and Type | Method and Description |
---|---|
void |
actionFinished(net.sf.jftp.net.BasicConnection con) |
void |
connectionFailed(net.sf.jftp.net.BasicConnection con,
String why) |
void |
connectionInitialized(net.sf.jftp.net.BasicConnection con) |
String |
getFile(String protocol,
String host,
int port,
String user,
String pass,
String remotePath,
String localPath,
String remoteFileName,
String localFileName,
String type,
long crc) |
void |
updateProgress(String file,
String type,
long bytes) |
void |
updateRemoteDirectory(net.sf.jftp.net.BasicConnection con) |
private boolean established
private net.sf.jftp.net.ConnectionHandler handler
public String getFile(String protocol, String host, int port, String user, String pass, String remotePath, String localPath, String remoteFileName, String localFileName, String type, long crc) throws Exception
getFile
in interface TransferItf
Exception
public void updateRemoteDirectory(net.sf.jftp.net.BasicConnection con)
updateRemoteDirectory
in interface net.sf.jftp.net.ConnectionListener
public void connectionInitialized(net.sf.jftp.net.BasicConnection con)
connectionInitialized
in interface net.sf.jftp.net.ConnectionListener
public void updateProgress(String file, String type, long bytes)
updateProgress
in interface net.sf.jftp.net.ConnectionListener
public void connectionFailed(net.sf.jftp.net.BasicConnection con, String why)
connectionFailed
in interface net.sf.jftp.net.ConnectionListener
public void actionFinished(net.sf.jftp.net.BasicConnection con)
actionFinished
in interface net.sf.jftp.net.ConnectionListener
Copyright © 2013 ScalAgent D.T.. All Rights Reserved.