Package org.oddjob.net.ftp
Class FTPPwd
java.lang.Object
org.oddjob.net.ftp.FTPPwd
- All Implemented Interfaces:
FTPCommand
- Author:
- rob
Description
FTP command to get the current remote present working directory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecuteWith(org.apache.commons.net.ftp.FTPClient client) Execute the command.getPwd()toString()
-
Constructor Details
-
FTPPwd
public FTPPwd()
-
-
Method Details
-
executeWith
Description copied from interface:FTPCommandExecute the command.- Specified by:
executeWithin interfaceFTPCommand- Parameters:
client- The client session.- Returns:
- true if OK, false otherwise.
- Throws:
IOException- If something goes wrong.
-
getPwd
-
toString
-