Files directories names

Permalink 1 user found helpful
Hi all,

I would like to know if it's possible to change the files directories names ?

Actually, a file is uploaded under /files/5645/49646/myFile.pdf

Is there a way to change these folders ID by a string, for example :
/files/hotel/spa/myFile.pdf


Thanks :)

moosh
 
tayharri replied on at Permalink Reply
tayharri
I just started with concrete5, and am wondering the same thing.
JohnWJarrett replied on at Permalink Reply
JohnWJarrett
What, do you mean like "Dashboard -> System & Settings -> File Storage Locations"?
moosh replied on at Permalink Reply
moosh
No no, I mean the auto folder created with an random ID.

When you point to a file, his path is something like this :
/2836/163/myFile.pdf

Could be great to define 2836 and 163
mnsweeps replied on at Permalink Reply
Moosh

Did you get an answer to this? I would be interested in it too. When users upload image files it gets created in these random numeric directories on the DEV BOX. Then when a new dev build is deployed this gets wiped out. So developers have to copy the directory structure from DEV box to our source control and then do a build to retain the links and directories..anyway to avoid this ?
moosh replied on at Permalink Reply
moosh
No... :(

But I think it's necessary for versioning features.

Only the core team could answer to this question.

Hi Core Team ! :)
mnsweeps replied on at Permalink Reply
Thanks.

Core team can you please answer ? Thanks in advance

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.