Class FtpClient
java.lang.Object
org.rockhopper.smarthome.wes.jwes.communicator.FtpClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanchangeWorkingDirectory(String pathname) voiddeleteFiles(boolean force) org.apache.commons.net.ftp.FTPFile[]booleanvoidlogout()booleanmakeDirectory(String pathname) booleanremoveDirectory(String pathname) booleanuploadClassPathFile(String remote, String classpathLocal) booleanuploadFile(String remote, InputStream local)
-
Constructor Details
-
FtpClient
-
-
Method Details
-
login
-
logout
public void logout() -
printWorkingDirectory
- Throws:
IOException
-
changeWorkingDirectory
- Throws:
IOException
-
removeDirectory
- Throws:
IOException
-
deleteFiles
- Throws:
IOException
-
listFiles
- Throws:
IOException
-
makeDirectory
- Throws:
IOException
-
uploadClassPathFile
- Throws:
IOException
-
uploadFile
- Throws:
IOException
-