org.oddjob.net.ftp
Class FTPMkDir
java.lang.Object
org.oddjob.net.ftp.FTPMkDir
- All Implemented Interfaces:
- FTPCommand
public class FTPMkDir
- extends Object
- implements FTPCommand
Description
FTP command to create a remote directory.- Author:
- rob
FTPMkDir
public FTPMkDir()
executeWith
public boolean executeWith(FTPClient client)
throws IOException
- Description copied from interface:
FTPCommand
- Execute the command.
- Specified by:
executeWith
in interface FTPCommand
- Parameters:
client
- The client session.
- Returns:
- true if OK, false otherwise.
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
getPath
public String getPath()
setPath
public void setPath(String path)