When i try to rename file i see in dropbox a copy being created rather than just a name change.
This is how i am trying to achieve this:
using (var dbx = new DropboxClient(RefreshToken,Appkey,Appsecret))
{
var updated = await dbx.Files.UploadAsync(
"/" + remoteUrl,
mode:WriteMode.Overwrite.Instance,
body: fileStream);
remoteUrl: dropbox folder path. Ex: /Backup/Notes/
I have specified writemode as overwrite but still a duplicate is getting created rather than just renaming. Is there any way to handle this?