Update / Replace mode question #127
andreaPress
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
thanks for your work.
I liked the implementation of the dropbox API.
I needed to replace some files after downloading them and I noticed that the method
function uploadExtended(string $path, mixed $contents, string $mode = 'add', bool $autorename = false): arrayonly accepts strings for the
$modeparameter.To update a file you need to pass an array like this:
['.tag' => 'update', 'update' => $rev]where$revis the revision.Would it be possible to update the method to also support file updating?
This way it works but I think
shouldUploadChunkedshould also be updatedThanks,
Andrea
Beta Was this translation helpful? Give feedback.
All reactions