I have an Android app that lists the folders and files of an FTP directory . I am using Apache Commons FTP Client . It comes down to this line, which I call for each folder
FTPFile[] folderElements = ftpClient.listFiles(folderName);
It works fine, but very laborious. The whole task (getting all the files and folders) takes about a minute. Can I speed it up somehow?
I have already tried
ftpClient.setBufferSize(1024000);
java android ftp apache-commons-net
juergen d
source share