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

[jira] [Commented] (NIFI-5717) FTPTransfer can't connect to different users in a same host

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

Lars Kampen commented on NIFI-5717:
-----------------------------------

This was reproduced here without effort and lead to a situation where files, that should have only been given to user A, have been put into the directories of user B.

Therefore I consider this to be a severe bug.

> FTPTransfer can't connect to different users in a same host
> -----------------------------------------------------------
>
>                 Key: NIFI-5717
>                 URL: https://issues.apache.org/jira/browse/NIFI-5717
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.7.1
>            Reporter: Daniel do Vale
>            Priority: Major
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 1) I have one FTP server host which different users can access.
> 2) I'm trying to connect with 2 different users in the same host. These users have different root folders configurated inside my host.
> 3) The first user can connect to FTP without any problems.
> 4) The second user can't connect to FTP properly, because nifi FTPTransfer class have one verification that sees if the host is the same that previous access, it don't reconnect (just reuse the current connection). For this reason, the folders path dont match when i try to get some files.
>  
> The problem occurs inside "getClient" method in FTPTransfer util class.



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