de.kawt.shell
Class FtpShell
java.lang.Object
|
+--de.kawt.shell.AbstractShell
|
+--de.kawt.shell.FtpShell
- public class FtpShell
- extends AbstractShell
FtpShell
public FtpShell()
cd
public boolean cd(String path)
- Overrides:
- cd in class AbstractShell
ls
public Vector ls()
- Overrides:
- ls in class AbstractShell
closeStream
public void closeStream()
throws <>IOException
- Description copied from class: AbstractShell
- needed to enable ftpshell to close data connection
- Overrides:
- closeStream in class AbstractShell
close
public void close()
- Overrides:
- close in class AbstractShell
open
public void open(String host,
String user,
String pass)
throws <>IOException
pwd
public String pwd()
- Overrides:
- pwd in class AbstractShell
getInputStream
public InputStream getInputStream(String name)
throws <>IOException
- Overrides:
- getInputStream in class AbstractShell
getOutputStream
public OutputStream getOutputStream(String name)
throws <>IOException
- Overrides:
- getOutputStream in class AbstractShell
mkdir
public void mkdir(String name)
- Overrides:
- mkdir in class AbstractShell
rm
public void rm(String name)
- Overrides:
- rm in class AbstractShell