[
https://jira.jboss.org/jira/browse/JBESB-1816?page=com.atlassian.jira.plu...
]
Darrin Mison commented on JBESB-1816:
-------------------------------------
Proposed SOA 4.2 TP02 Release Note:
The FTP storeFileStream method now throws an exception instead of returning a null output
stream
FTP uploading could result in null output stream
------------------------------------------------
Key: JBESB-1816
URL:
https://jira.jboss.org/jira/browse/JBESB-1816
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.2.1 TP1, 4.3
Reporter: Kevin Conner
Assignee: Kevin Conner
Fix For: 4.2.1 TP2, 4.4
The FTP storeFileStream method can return a null output stream as well as throwing an
exception on error conditions.
One circumstance when this occurs is when an active data connection fails to be
established (this is in response to a PORT command). This will result in a 500 response
being sent back to the FTP client which results in a null output stream.
The FtpImpl should check for null returns and throw an exception containing the reply
string.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira