Hi,
We use following apis to perform file upload/download, and passing filename in Dropbox-API-Arg header.
If the filename contains non-printable char (ascii < 32), we encode them using unicode. (according to this encoding doc)
However, this method is only valid for uploading files, downloading files will result in a malformed path error.
How can we properly encode filenames with non-printable char?
APIs
- https://content.dropboxapi.com/2/files/download
- https://content.dropboxapi.com/2/files/upload