4 ms·
I spent a while trying to figure out why the PHP getFile method wouldn't work with files that had spaces in them. I finally figured out that the filename has to
by dglassan 16y ago
I spent a while trying to figure out why the PHP getFile method wouldn't work with files that had spaces in them. I finally figured out that the filename has to be rawurlencoded which the API wasn't doing.
- Travis 16y agoThat's rather annoying, that it didn't do it, but it apparently wasn't well documented that it had this behavior. My only dropbox interaction was simple enough that I just used the DropboxUploader PHP script, so I didn't worry about most of that stuff (only using it for internal company stuff, so errors aren't critical).