Hi,
I upload in Dropbox using this code:
var
di : TDropBoxItem;
begin
di := TDropBoxItem.Create(nil);
di.Path := '/Test/Videos/video1';
MainForm.Storage.Upload(di, 'e:\something\xxxx\MyWordDoc.docx' );
The problem is that when I call a second time, instead of replacing it, it creates a second file named MyWordDoc (1).docx
Isn't an option to set an overwrite mode?
(If I just drag and drop the same file onto the Dropbox folder it doesn't duplicate, it replaces the original file, this is what I need to get too).
(If I just drag and drop the same file onto the Dropbox folder it doesn't duplicate, it replaces the original file, this is what I need to get too).
Thank you very much for your help!