com.ibm.di.protocols
Class FTPBean
java.lang.Object
com.ibm.di.protocols.FTPBean
public class FTPBean
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FTPBean
public FTPBean()
connect
public boolean connect(String host,
String username,
String password)
close
public boolean close()
setBinary
public void setBinary()
setAscii
public void setAscii()
get
public boolean get(String remoteFile,
String localFile)
put
public boolean put(String localFile,
String remoteFile)
cd
public boolean cd(String path)
dir
public Object dir()
remove
public boolean remove(String path)
rename
public boolean rename(String fromPath,
String toPath)
setLastErr
public boolean setLastErr(Exception e)
getLastError
public Exception getLastError()
setDebug
public void setDebug(boolean debug)
getDebug
public boolean getDebug()