Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.0.0
-
None
Description
When SSH_FXP_READDIR request is sent, if SSH_FXP_STATUS other than the expected SSH_FX_EOF is returned, SftpException is thrown. Current catch block converts the exception into different exceptions based on SSH_FXP_STATUS id. But if the id is not SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED, the returned id won't be logged. That makes it hard to investigate issues for such code.
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java#L263
Attachments
Issue Links
- links to