Download entire FTP directory in Java (Apache Net Commons)
问题 I am trying to recursively iterate through the entire root directory that I arrive at after login to the FTP server. I am able to connect, all I really want to do from there is recurse through the entire structure and and download each file and folder and have it in the same structure as it is on the FTP. What I have so far is a working download method, it goes to the server and gets my entire structure of files, which is brilliant, except it fails on the first attempt, then works the second