Android FTP Library

I am looking for a java library that runs on an android that can download and resume files from an FTP server. Does anyone know such a library. I found many client applications but no offline libraries.

+49
java android ftp
Oct 14 '09 at 16:52
source share
1 answer

Try using apache commons ftp

FTPClient ftpClient = new FTPClient(); ftpClient.connect(InetAddress.getByName(server)); ftpClient.login(user, password); ftpClient.changeWorkingDirectory(serverRoad); ftpClient.setFileType(FTP.BINARY_FILE_TYPE); BufferedInputStream buffIn = null; buffIn = new BufferedInputStream(new FileInputStream(file)); ftpClient.enterLocalPassiveMode(); ftpClient.storeFile("test.txt", buffIn); buffIn.close(); ftpClient.logout(); ftpClient.disconnect(); 
+78
Oct 30 '09 at 17:49
source share
— -



All Articles