But, moodle stores files with hashing algorithm, so they are stored in the filedir directory like this: 5c/eb/b0/5cebb03d702827bb9e25b38b06910fa5...
As you can imagine, we can't upload the files with hashing names instead of original file names.
I can look at the table mdl_files and find the particural contenthast field and get the filename of the hashing file.
But I would like to find a way to do this for thousands of files. And not only for one or two files.
How can we do this? Is there any algorithm that converts the hashing names to the original file names??
Thank you in regards (for your quick responce..).