You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Paul Grey (Jira)" <ji...@apache.org> on 2023/06/09 19:50:00 UTC

[jira] [Commented] (NIFI-11672) adjust ListSFTP to handle filesystem entries with incomplete type information

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

Paul Grey commented on NIFI-11672:
----------------------------------

The current version of `com.hierynomus:sshj` used by ListSFTP has code that ignores the UNKNOWN type, when it is encountered.

https://github.com/hierynomus/sshj/blob/master/src/main/java/net/schmizz/sshj/sftp/SFTPFileTransfer.java#L124-L127



> adjust ListSFTP to handle filesystem entries with incomplete type information
> -----------------------------------------------------------------------------
>
>                 Key: NIFI-11672
>                 URL: https://issues.apache.org/jira/browse/NIFI-11672
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Paul Grey
>            Assignee: Paul Grey
>            Priority: Minor
>
> Certain SFTP servers have been observed to not supply file type information in their responses to remote folder enumeration requests.  This causes the current implementation of ListSFTP to return empty enumeration responses.
> Adjust ListSFTP code to enumerate files as expected in this case.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)