FtpClient storeFile always return False

The exact failure message can be found by calling FtpClient#getReplyCode(). From that page (my emphasis): Immediately after connecting is the only real time you need to check the reply code (because connect is of type void). The convention for all the FTP command methods in FTPClient is such that they either return a boolean value or … Read more