[
https://issues.apache.org/jira/browse/FTPSERVER-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592777#action_12592777
]
Magnus Grimsell commented on FTPSERVER-131:
-------------------------------------------
Isnt it the commons.net code that should be fixed? According to the javadoc on
FTP.sendCommand an FTPConnectionClosedException should be thrown if the
connection to the server prematurely closes.
However, the SocketException seems to slip through is some cases.
> FtpLet test failures
> --------------------
>
> Key: FTPSERVER-131
> URL: https://issues.apache.org/jira/browse/FTPSERVER-131
> Project: FtpServer
> Issue Type: Bug
> Components: Ftplets
> Environment: win XP, jdk1.5.0_15
> Reporter: Magnus Grimsell
> Priority: Minor
> Attachments:
> org.apache.ftpserver.ftplet.FtpLetReturnDisconnectTest.txt,
> org.apache.ftpserver.ftplet.FtpLetThrowFtpExceptionTest.txt,
> org.apache.ftpserver.ftplet.FtpLetThrowRuntimeExceptionTest.txt
>
>
> When building ftpserver projekt from trunk I get the following test failures:
> Tests in error:
>
> testExceptionDuringUploadEnd(org.apache.ftpserver.ftplet.FtpLetThrowRuntimeExceptionTest)
>
> testExceptionDuringUploadUniqueEnd(org.apache.ftpserver.ftplet.FtpLetThrowRuntimeExceptionTest)
>
> testExceptionDuringAppendEnd(org.apache.ftpserver.ftplet.FtpLetThrowFtpExceptionTest)
>
> testExceptionDuringUploadUniqueEnd(org.apache.ftpserver.ftplet.FtpLetThrowFtpExceptionTest)
>
> testExceptionDuringDownloadEnd(org.apache.ftpserver.ftplet.FtpLetReturnDisconnectTest)
>
> testExceptionDuringAppendEnd(org.apache.ftpserver.ftplet.FtpLetReturnDisconnectTest)
>
> testExceptionDuringUploadEnd(org.apache.ftpserver.ftplet.FtpLetReturnDisconnectTest)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.