You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/07/12 01:07:00 UTC

[jira] [Commented] (NIFI-10143) ListFTP/GetFTP has issues with danish special characters (UTF-8)

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

ASF subversion and git services commented on NIFI-10143:
--------------------------------------------------------

Commit 274e4feeaa4f8173657fe0bfdb66291ef33073ed in nifi's branch refs/heads/main from Paul Grey
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=274e4feeaa ]

NIFI-10143 Adjusted UTF-8 auto-detection in FTP Processors

This closes #6172

Signed-off-by: David Handermann <ex...@apache.org>


> ListFTP/GetFTP has issues with danish special characters (UTF-8)
> ----------------------------------------------------------------
>
>                 Key: NIFI-10143
>                 URL: https://issues.apache.org/jira/browse/NIFI-10143
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.16.2
>         Environment: NIFI Version 1.16.2, Java 8
>            Reporter: Jens M Kofoed
>            Assignee: Paul Grey
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> ListFTP and GetFTP has issues listing file/directories including danish charaters (æøå).
> The ftp server is MS IIS FTP, and UTF-8 has been set to true.
> with a small test flow, I used a GenerateFlowfile and added 2 Properties. filename="test.txt" and path="æøå". The output is going to a PutFTP, with Remote path set to ${path}
> The PutFTP does indeed create a subfolder at the ftp server, named æøå. But...
> With a ListFTP or GetFTP process, looking into the same root folder gives an error. 
> ListFTP[id=e4c43ea1-2d5d-1fea-ffff-ffff89c101ce] Unable to get listing from /���; skipping: java.io.IOException: Cannot list files for non-existent directory /���
>  
> Testing the old case from NIFI-8250. I got issues with the arabic charaters too.
> PutFTP[id=e4c43ef3-2d5d-1fea-ffff-ffffea9da690] Unable to transfer FlowFile[filename=اختبار] to remote host 192.168.1.2 due to IOException thrown from PutFTP[id=e4c43ef3-2d5d-1fea-ffff-ffffea9da690]: java.io.IOException: Failed to store file .اختبار to /test/اختبار due to: 550 The filename, directory name, or volume label syntax is incorrect. 
> : java.io.IOException: Failed to store file .اختبار to /test/اختبار due to: 550 The filename, directory name, or volume label syntax is incorrect. 
> ; routing to failure: {}
>  



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