Decompress Files node via HTTPS and path in variable

Hi, I’ve got difficulties to understand how to connect when I want to use the Decompress node.

I can connect it via a HTTP connector (example : “BAN OpenData : data/ban/adresses/latest/csv | adresse.data.gouv.fr” . without problem, when I enter the file I want to decompress name manually : adresses-01-csv.gz. It works perfectly.

But I want to use the filename as a variable. I have to connect it with a path variable, but it never works. What are the good options because something like : (CUSTOM_URL, 1000, adresses-01-csv.gz) doesn’t seem to be appropriate. Something like (LOCAL, adresses-01-csv.gz) doesn’t work either, normal it’s not local.

So the question is how to use a simple file name as a variable with a decompress node connecting through http ?

You might want to upload your flow to get better help here
br

1 Like

@Fabien_Couprie have you considered downloading the compressed file and then do the extraction locally?

1 Like

Hi all,
here is the workflow :
exemple_for_knime.knwf (2.2 MB)

Hi,
The fact is I don’t want this. The final purpose is to iterate over pathnames in order to do it automatically with a list of paths for many files.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.