R: Error with FetchFTP when filename has non-ASCII charachters

2020-07-29 Thread Luca Giovannini

Thank you, Matt!
As you suggested I opened this improvement Jira: 
https://issues.apache.org/jira/browse/NIFI-7685
In the meantime I wrote a python script to fetch the files with non-ASCII names 
and used it with an ExecuteScript processor.

Luca


Luca Giovannini
Information Systems Analyst
Dedagroup Public Services
www.linkedin.com/in/lucagio/<http://www.linkedin.com/in/lucagio/>
T +39.051.278.928 | M +39.347.799.3183 | VoIP 951.128
Dedagroup Public Services Srl – Sede di Casalecchio di Reno, Via del Lavoro 67
www.dedagroup.it/public-services<http://www.dedagroup.it/public-services>

[cid:image001.jpg@01D6658C.B31D5880]<http://www.dedagroup.it/home>

Da: Matt Burgess 
Inviato: martedì 14 luglio 2020 16:19
A: users@nifi.apache.org
Oggetto: Re: Error with FetchFTP when filename has non-ASCII charachters

**ATTENZIONE** Questo messaggio proviene da un ACCOUNT ESTERNO, presta 
attenzione ad eventuali link o allegati al suo interno.

Luca,

I'm guessing the issue is the same as the one in [1] but it just wasn't fixed 
for FetchFTP. Please feel free to write an improvement Jira [2] to add this to 
FetchFTP as well.

Regards,
Matt

[1] 
https://issues.apache.org/jira/browse/NIFI-4137<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FNIFI-4137&data=02%7C01%7CLuca.Giovannini%40dedagroup.it%7C35da53a2e1db4aadb69a08d82800df73%7Cbbf156d433fa4fee86f62cfcb1359ef0%7C0%7C0%7C637303331502181485&sdata=ETqdW2puaeZKwDl1cr4raz8oll29qGFSN6fqVKO9%2FI4%3D&reserved=0>
[2] 
https://issues.apache.org/jira/browse/NIFI<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FNIFI&data=02%7C01%7CLuca.Giovannini%40dedagroup.it%7C35da53a2e1db4aadb69a08d82800df73%7Cbbf156d433fa4fee86f62cfcb1359ef0%7C0%7C0%7C637303331502181485&sdata=FQGrhPEAmCUAtJGqGi2OsKP4xWdIeiuR6qTVfX0Qd6c%3D&reserved=0>


On Tue, Jul 14, 2020 at 9:50 AM Luca Giovannini 
mailto:luca.giovann...@dedagroup.it>> wrote:

When FetchFTP tries to fetch a file with name containing non-ASCII characters 
(e.g. “Xml_APE001_unitàimmobiliareguarda.xml”), the process succeeds but 
the corresponding flowfile is empty.
Is there a way to make the FetchFTP processor succeed for real and really fetch 
the file?

Thank you very much,

Luca


Luca Giovannini
Information Systems Analyst
Dedagroup Public Services
www.linkedin.com/in/lucagio/<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Flucagio%2F&data=02%7C01%7CLuca.Giovannini%40dedagroup.it%7C35da53a2e1db4aadb69a08d82800df73%7Cbbf156d433fa4fee86f62cfcb1359ef0%7C0%7C0%7C637303331502191442&sdata=L9EPR6hB19XnxAIVOdV3gd2WiQO2jQO1e8DShQqwIvo%3D&reserved=0>
T +39.051.278.928 | M +39.347.799.3183 | VoIP 951.128
Dedagroup Public Services Srl – Sede di Casalecchio di Reno, Via del Lavoro 67
www.dedagroup.it/public-services<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dedagroup.it%2Fpublic-services&data=02%7C01%7CLuca.Giovannini%40dedagroup.it%7C35da53a2e1db4aadb69a08d82800df73%7Cbbf156d433fa4fee86f62cfcb1359ef0%7C0%7C0%7C637303331502191442&sdata=ijycbIjpmc%2F9DSel0ktLh9MiYQrk32RjSOxS0iNeDwY%3D&reserved=0>

[cid:image001.jpg@01D6658C.B31D5880]<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dedagroup.it%2Fhome&data=02%7C01%7CLuca.Giovannini%40dedagroup.it%7C35da53a2e1db4aadb69a08d82800df73%7Cbbf156d433fa4fee86f62cfcb1359ef0%7C0%7C0%7C637303331502191442&sdata=lKVa6NH0XXek86iA9HeMXhq9p9HBXJzA6kpFB4AEZWA%3D&reserved=0>

Le informazioni contenute in questo messaggio di posta elettronica sono 
riservate e confidenziali e ne e' vietata la diffusione in qualsiasi modo o 
forma. Qualora Lei non fosse la persona destinataria del presente messaggio, La 
invitiamo a non diffonderlo e ad eliminarlo, dandone gentilmente comunicazione 
al mittente.

The information included in this e-mail and any attachments are confidential 
and may also be privileged. If you are not the correct recipient, you are 
kindly requested to notify the sender immediately, to cancel it and not to 
disclose the contents to any other person.


Re: Error with FetchFTP when filename has non-ASCII charachters

2020-07-14 Thread Matt Burgess
Luca,

I'm guessing the issue is the same as the one in [1] but it just wasn't
fixed for FetchFTP. Please feel free to write an improvement Jira [2] to
add this to FetchFTP as well.

Regards,
Matt

[1] https://issues.apache.org/jira/browse/NIFI-4137
[2] https://issues.apache.org/jira/browse/NIFI


On Tue, Jul 14, 2020 at 9:50 AM Luca Giovannini <
luca.giovann...@dedagroup.it> wrote:

>
>
> When FetchFTP tries to fetch a file with name containing non-ASCII
> characters (e.g. “Xml_APE001_unit*à*immobiliareguarda.xml”), the
> process succeeds but the corresponding flowfile is empty.
>
> Is there a way to make the FetchFTP processor succeed for real and really
> fetch the file?
>
>
>
> Thank you very much,
>
>
>
> Luca
>
>
>
>
>
> *Luca Giovannini*
> Information Systems Analyst
> *Dedagroup Public Services*
>
> www.linkedin.com/in/lucagio/
>
> T +39.051.278.928 | M +39.347.799.3183 | VoIP 951.128
> Dedagroup Public Services Srl – Sede di Casalecchio di Reno, Via del
> Lavoro 67
>
> www.dedagroup.it/public-services
>
>
>
> 
>
>
> Le informazioni contenute in questo messaggio di posta elettronica sono
> riservate e confidenziali e ne e' vietata la diffusione in qualsiasi modo o
> forma. Qualora Lei non fosse la persona destinataria del presente
> messaggio, La invitiamo a non diffonderlo e ad eliminarlo, dandone
> gentilmente comunicazione al mittente.
>
> The information included in this e-mail and any attachments are
> confidential and may also be privileged. If you are not the correct
> recipient, you are kindly requested to notify the sender immediately, to
> cancel it and not to disclose the contents to any other person.
>


Error with FetchFTP when filename has non-ASCII charachters

2020-07-14 Thread Luca Giovannini

When FetchFTP tries to fetch a file with name containing non-ASCII characters 
(e.g. "Xml_APE001_unitàimmobiliareguarda.xml"), the process succeeds but 
the corresponding flowfile is empty.
Is there a way to make the FetchFTP processor succeed for real and really fetch 
the file?

Thank you very much,

Luca


Luca Giovannini
Information Systems Analyst
Dedagroup Public Services
www.linkedin.com/in/lucagio/
T +39.051.278.928 | M +39.347.799.3183 | VoIP 951.128
Dedagroup Public Services Srl - Sede di Casalecchio di Reno, Via del Lavoro 67
www.dedagroup.it/public-services

[cid:image001.jpg@01D659F6.7F3A1C70]

Le informazioni contenute in questo messaggio di posta elettronica sono 
riservate e confidenziali e ne e' vietata la diffusione in qualsiasi modo o 
forma. Qualora Lei non fosse la persona destinataria del presente messaggio, La 
invitiamo a non diffonderlo e ad eliminarlo, dandone gentilmente comunicazione 
al mittente.

The information included in this e-mail and any attachments are confidential 
and may also be privileged. If you are not the correct recipient, you are 
kindly requested to notify the sender immediately, to cancel it and not to 
disclose the contents to any other person.