Error with FetchFTP when filename has non-ASCII charachters

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Error with FetchFTP when filename has non-ASCII charachters

Luca Giovannini

 

When FetchFTP tries to fetch a file with name containing non-ASCII characters (e.g. “Xml_APE0000001_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.
Reply | Threaded
Open this post in threaded view
|

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

Matt Burgess-2
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



On Tue, Jul 14, 2020 at 9:50 AM Luca Giovannini <[hidden email]> wrote:

 

When FetchFTP tries to fetch a file with name containing non-ASCII characters (e.g. “Xml_APE0000001_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.
Reply | Threaded
Open this post in threaded view
|

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

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/

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

 

 

Da: Matt Burgess <[hidden email]>
Inviato: martedì 14 luglio 2020 16:19
A: [hidden email]
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

 

 

 

On Tue, Jul 14, 2020 at 9:50 AM Luca Giovannini <[hidden email]> wrote:

 

When FetchFTP tries to fetch a file with name containing non-ASCII characters (e.g. “Xml_APE0000001_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.