Apache Commons FTPClient.listFiles
Just a silly suggestion... can you do a listing on the /uploads folder using a normal FTP client. I ask this because some FTP servers are setup to not display the listing of an upload folder.
This seems like the same issue I had (and solved), see this answer:
Apache Commons Net FTPClient and listFiles()
I added client.enterLocalPassiveMode()
and it works:
client.connect("xxx.com");
boolean login = client.login("xxx", "xxx");
client.enterLocalPassiveMode();
After I set the mode as PASV
it is working fine now!
Thanks for all your efforts and suggestions!