Discussions
-
Possible race condition when creating in a folder in Team Spaces
When creating a top-level folder with the `files/create_folder` endpoint with a user account with Team Spaces, the folder appears to be created as a personal folder first and then converted and remounted as a shared folder in the root namespace (depending on the team settings). This can lead to strange error messages when…
-
Unhelpful error on "sharing/share_folder" API call with malfolrmed path.
When calling the `sharing/share_folder` endpoint with a path that contains disallowed characters, for example that ends with a backslash "\", the endpoint won't return a WriteError (malformed_path) but rather a HTTP error 500 (internal Dropbox error). This is not particularly helpful since it does not allow us to…
-
API endpoint to create symlinks
Currently, the Dropbox API will tell you if a remote file is a symlink and where it points to in the "symlink_info" field of the "FileMetadata". This is useful to know so we can either skip that file during download or create a corresponding local symlink. However, the reverse does not seem to be currently possible: How do…
-
Unix file permissions accessible via API?
The official Dropbox client preserves file permissions when syncing files between different computers whenever possible (e.g., between Unixes). When changing a file's permissions to executable, this will trigger a sync of the new permissions to all linked PCs. This means that the corresponding metadata is somwhow stored on…