Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
idempster
Contributor II
Contributor II

Load all txt files from one folder

Newbie here, what am I doing wrong please? My data is not loading. I assume it's something very basic in the syntax.

idempster_1-1669287717003.png

 

 

Labels (1)
18 Replies
aguirre
Creator
Creator

then replace backslash \*.txt with /*.txt

idempster
Contributor II
Contributor II
Author

Yes, I tried loading one file using the button and it works.

aguirre
Creator
Creator

what about \*.txt with /*.txt

idempster
Contributor II
Contributor II
Author

Either \*.txt or /*.txt do not throw errors, there is just no data loaded

 

aguirre
Creator
Creator

what about   wrapping the path with square brackets ?

idempster
Contributor II
Contributor II
Author

I get an error

idempster_0-1669291750237.png

 

aguirre
Creator
Creator

if you put  the whole path that you get when you select a single file with the button in FIleList

ex.

FileList('[lib://.....\*.txt]')

it's not working?

 

 

 

And replace the file name with *.txt

 

idempster
Contributor II
Contributor II
Author

So I have added the path from the script when selecting from the button and have also added the parameters from that script. Now I am getting connector error

 

idempster_0-1669292682923.png

idempster_1-1669292703487.png

 

idempster
Contributor II
Contributor II
Author

Just to share the knowledge, I figured it out .... This works - I had to remove /*.txt in the path (where yellow marker is):

idempster_0-1669302663957.png