Closed mstonepc closed 10 years ago
Right now - and it ever was this way - when uploading a file into a Dropbox-directory where a file with the same name already existed, the file was overwritten.
This is also the behavior you're asking for.
As this is already the common behavior, an additional parameter for it which would disable overwriting and therefore change the current and common behavior will not be introduced.
This btw. has nothing to do with security, Dropbox keeps revisions of the files, so technically, files aren't overwritten but a new revision is created).
I understand how for security purposes a change like this would be necessary, but in the scenario where I was using the script, I needed the files to get overwritten. Perhaps the upload function could contain a 4th parameter for overwrite that's false by default?
Then we can easily run the upload w/ the overwrite flag without any major changes to the system. Please advise.