I searched the net but found nothing to upload a file and converted it to %code% and then search the text inside it for results.
/ p>Someone knows how this is done so I can leave some links for me to study the case.
I searched the net but found nothing to upload a file and converted it to %code% and then search the text inside it for results.
/ p>Someone knows how this is done so I can leave some links for me to study the case.
Converting binary files to %code% will not make a search work, each file has its own format.
For each file type you will have to use a method to extract the data and save it in a %code% , some example:
XML use link
Example:
%pre%CSV use link
%pre%XLS will probably have to use a library to facilitate such as link or link
These are just a few examples, for each format you implement in your application you will have to use a new script.
I believe that there is no "magic" solution ready for this, you will have to take what exists and create an application based on it.
To make the query, let's suppose that you saved all %code% to a folder, so you should do a search similar to this:
%pre%I do not know if I understand your question right, but if you want the list of files listed in a txt file, use the following command:
%pre%I hope I have helped.
Embrace