org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.

Stack Overflow | SpartanXL01 | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java FTPS fails to retrieve file list (FileZilla Client works fine)

    Stack Overflow | 8 months ago | SpartanXL01
    org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.

    Root Cause Analysis

    1. org.apache.commons.net.ftp.FTPConnectionClosedException

      Connection closed without indication.

      at org.apache.commons.net.ftp.FTP.__getReply()
    2. Commons Net
      FTPClient.listNames
      1. org.apache.commons.net.ftp.FTP.__getReply(FTP.java:316)
      2. org.apache.commons.net.ftp.FTP.__getReply(FTP.java:292)
      3. org.apache.commons.net.ftp.FTP.getReply(FTP.java:712)
      4. org.apache.commons.net.ftp.FTPClient.completePendingCommand(FTPClient.java:1857)
      5. org.apache.commons.net.ftp.FTPClient.listNames(FTPClient.java:2919)
      6. org.apache.commons.net.ftp.FTPClient.listNames(FTPClient.java:2952)
      6 frames
    3. ${artifactId}
      testProgram.main
      1. myPackage.testProgram.main(testProgram.java:78)
      1 frame