File URL's

Permalink 1 user found helpful
I'm uploading a large number of text files that i want to reference. Building the case statements, i find that each file is located differently with numbered folders.

Is there a way I can use the folder structure I have uploaded to and add it to a URL?

Right now I have something like:
https://www.example.org/application/files/4415/6494/9191/EAMA_L_C_P....

What I am hoping for is:
https://www.example.org/application/files/English/A/EAMA_L_C_P.txt...

GeeEM
 
linuxoid replied on at Permalink Reply
linuxoid
You can do that programmatically. I think the simplest way is to create a single page with a file list. This way you'll have a direct URL to the page and to each file in the file list.

Ref.https://github.com/shahroq/whale_c5_cheat_sheet/blob/master/README.m...

I don't know if this can be done without coding your own file list page.
linuxoid replied on at Permalink Best Answer Reply
linuxoid
I'm afraid I was wrong. Even on a single page the files will have folder names as numbers. I guess to have direct folder URL links to files you have to store the files in the server folders, not in the file manager.
GeeEM replied on at Permalink Reply
GeeEM
I can't see a better solution than this, sadly. In replacing a file, I found it changed path, which messes up everything. A direct file method will have to be used. Shame.
linuxoid replied on at Permalink Reply
linuxoid
Hi.

If you still need that, please check this out:
https://www.concrete5.org/marketplace/addons/free-simple-file-list-b...