You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ralf Hauser (JIRA)" <ji...@apache.org> on 2015/07/27 10:25:04 UTC

[jira] [Commented] (NET-495) Unsupported record version Unknown-48.48 - commons-net-3.1.jar

    [ https://issues.apache.org/jira/browse/NET-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642429#comment-14642429 ] 

Ralf Hauser commented on NET-495:
---------------------------------

maybe it now ignores a missing final answer as in the mail example https://community.oracle.com/thread/1590373 

<< props.put("mail.smtp.quitwait", "false");
This property means :

If set to false, the QUIT command is sent and the connection is immediately
closed. If set to true (the default), causes the transport to wait for the
response to the QUIT command.>>


> Unsupported record version Unknown-48.48 - commons-net-3.1.jar
> --------------------------------------------------------------
>
>                 Key: NET-495
>                 URL: https://issues.apache.org/jira/browse/NET-495
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.1
>         Environment: Windows XP, Windows 7, HP-UX
>            Reporter: Deepak Pant
>              Labels: commons-net-3.1.jar, ftp, ftps
>             Fix For: 3.2
>
>         Attachments: FTPSClient_Error_Dump.txt
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)