com.ibm.di.protocols
Class FTPBean

java.lang.Object
  extended by com.ibm.di.protocols.FTPBean

public class FTPBean
extends Object


Nested Class Summary
 class FTPBean.DirectoryContents
           
 
Constructor Summary
FTPBean()
           
 
Method Summary
 boolean cd(String path)
           
 boolean close()
           
 boolean connect(String host, String username, String password)
           
 Object dir()
           
 boolean get(String remoteFile, String localFile)
           
 boolean getDebug()
           
 Exception getLastError()
           
 boolean put(String localFile, String remoteFile)
           
 boolean remove(String path)
           
 boolean rename(String fromPath, String toPath)
           
 void setAscii()
           
 void setBinary()
           
 void setDebug(boolean debug)
           
 boolean setLastErr(Exception e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FTPBean

public FTPBean()
Method Detail

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()