Here is my code:
var updated = await dbx.Files.UploadAsync("/Apps/design-orders" + "/" + file.FileName, WriteMode.Add.Instance, true, body: mem);
I have tried different combinations of the mode and autorename parameters but it always overwrites the existing file. I would like it to rename if the file name already exists.