Upload multiple files with same file name
under review
I
Impressed Ocelot
Currently, the system will not allow two files to have the same name, globally, across the entire Knowledge Base site. This is very problematic in technical documents where software expects files to have a certain name.
In our case, we need to provide example config files for many different scenarios. If the software in question expects some config files to be named "foo.conf" and others to be named "ding.list", renaming them to be unique across every example would be very confusing for the audience.
The usual solution for this scenario is to create multiple directories (folders). The directory name plus the file name is then still unique.
Indeed, I tried creating different folders in the "Drive" file management tool, but it renames every file I upload to be unique across the entire drive.
It seems that your current implementation uses a single directory on the CDN for the entire site. Presumably the limitation extends from this. The folder structure maintained in the "Drive" is apparently for display purposes only.
It seems like a straight-forward way to fix this would be to extend the folder structure created in "Drive" to the CDN.
For example, if I created folders "simple" and "fruit" in the "Drive", and under the "fruit" folder, further created folders "banana" and "apple", and uploaded a "foo.conf" file to each of them, the resulting CDN paths might be:
https://cdn.document360.io/fb0cfe40-8232-41f1-8fc7-68adda25cdcb/Images/Documentation/simple/foo.conf
The only tricky part would be that existing sites of course expect their Drive folder structure to have no effect on their links. Simply enabling everywhere it would break existing sites. Enabling it only for new folders might still be confusing to people used to the old way. Perhaps some kind of site-global option for "Advanced Drive paths" or something like that could be offered. Once that option was enabled, new folders would have their path reflected in the CDN. Existing folders would continue to use the root for storage, for compatibility. The built-in system folders would be exempted from this treatment regardless.
Log In
D
D360 Product Management
marked this post as
under review
K
Kavya
Hi Impressed Ocelot,
Thank you for taking the time to describe this scenario in such detail. We understand how the current global file-name uniqueness constraint can be problematic for technical documentation—especially when you need to provide realistic configuration examples where filenames must remain consistent across different contexts.
You’re also correct in observing that today the folder structure in Drive is primarily organizational, while files are stored flat at the CDN level, which leads to automatic renaming. Your suggestion of extending the Drive folder hierarchy to the CDN—while preserving backward compatibility through an opt-in or project-level setting—is thoughtful and well-reasoned.
We’ll take this under review with our product and engineering teams to evaluate the technical feasibility, impact on existing customers, and possible approaches (such as an opt-in “advanced paths” mode, as you suggested). Given the implications across storage, linking, and backward compatibility, this will require careful analysis.
We appreciate the detailed proposal and the consideration you’ve given to migration and compatibility concerns. We’ll share an update once we have more clarity on next steps.