Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-495

Unsupported record version Unknown-48.48 - commons-net-3.1.jar

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: FTP
    • Environment:

      Windows XP, Windows 7, HP-UX

      Description

      FTPSClient bundled in "commons-net-3.1.jar" returns "Unsupported record version Unknown-48.48" error when I try to FTP a zero byte file. This error doesn't come when we use "commons-net-2.0.jar" file.

      javax.net.ssl.SSLException: Unsupported record version Unknown-48.48
      at com.sun.net.ssl.internal.ssl.InputRecord.readV3Record(InputRecord.java:375)
      at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:360)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:830)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:787)
      at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
      at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
      at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
      at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
      at java.io.InputStreamReader.read(InputStreamReader.java:167)
      at java.io.BufferedReader.fill(BufferedReader.java:136)
      at java.io.BufferedReader.readLine(BufferedReader.java:299)
      at java.io.BufferedReader.readLine(BufferedReader.java:362)
      at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:310)
      at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:290)
      at org.apache.commons.net.ftp.FTP.getReply(FTP.java:637)
      at org.apache.commons.net.ftp.FTPClient.completePendingCommand(FTPClient.java:1637)
      at org.apache.commons.net.ftp.FTPClient._storeFile(FTPClient.java:599)
      at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:557)
      at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1795)
      at FTPSExample.main(FTPSExample.java:173)

        Attachments

        1. FTPSClient_Error_Dump.txt
          36 kB
          Deepak Pant

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pant_deepak Deepak Pant
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: