File upload override

dgogoasa

Member
Jul 26, 2018
32
6
8
If I use the API to upload a file which already exists on the server, the server will automatically create another file with the same name to which adds an index (a new file). Can this be changed (or settable ?).
Myself I need to override a file if it existed but keep the same name. How I do it at the moment is if file existed I delete it from the server and I upload it afterwords. This flow seems a bit convoluted and error prone. Is there another, simpler solution?