com.ibm.di.protocols
Class FTP
java.lang.Object
com.ibm.di.protocols.FTP
public class FTP
- extends Object
Constructor Summary |
FTP()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FTP
public FTP()
connect
public boolean connect(String host)
connect
public boolean connect(String host,
int port)
login
public boolean login(String username,
String password)
close
public boolean close()
setBinary
public boolean setBinary()
setAscii
public boolean setAscii()
get
public boolean get(String remoteFile,
String localFile)
put
public boolean put(String localFile,
String remoteFile)
cd
public boolean cd(String path)
getResponse
public String getResponse()
dir
public Object[] dir()
setLastErr
public boolean setLastErr(Exception e)
getLastError
public Exception getLastError()