FtpClient storeFile always return False

后端 未结 5 1499
醉话见心
醉话见心 2020-12-05 18:36

Please figure this out. The code runs properly without any exception.

        FTPClient ftp = new FTPClient();
        ftp.connect(server);
        if(!ftp.l         


        
5条回答
  •  天涯浪人
    2020-12-05 19:24

    Try to use ftp.enterLocalPassiveMode(); before ftp.storeFile(destinationfile, in);

提交回复
热议问题