-
Notifications
You must be signed in to change notification settings - Fork 330
Closed
Description
I want to upload a file but only if it doesn't exist. I'm trying with
dbx.files_upload(f.read(), BACKUPPATH, mode=WriteMode('add', None))
But if the file exists I get an ApiError like
UploadError('path', UploadWriteFailed(reason=WriteError('conflict', WriteConflictError('file', None))
How can I upload the file only if it doesn't exist and if it does just skip it (do nothing)?
Metadata
Metadata
Assignees
Labels
No labels