I am an avid reader and have about 17,000 books on my phone (because why not?) Recently I bought a Sandisk 400gb MicroSD card for my Note 8 and started syncing my Dropbox /books/ folder with the card when I started seeing an error message I’d never seen before:
File not downloadable from Dropbox, “restricted_content”
What’s going on here is that Dropbox is creating hashes of all the files in user accounts. It then compares the hashes of the files you have uploaded to Dropbox with the hashes that have been submitted to it by copyright holders of files that are allegedly being made available illegally on torrent and other sites.
If a file in your Dropbox folders matches the hash of one of these copyrighted files, then Dropbox will restrict what you can do with the file (specifically, making it difficult to sync or share in some contexts).
Fortunately, for a lot of types of content this is fairly easy to fix. Two compare the hash functions of two files, the two files have to be bit-for-bit copies. Even slight changes in a file will lead to an entirely different hash, which will then no longer flag the file.
So, for example, 90 percent of the books in my collection are EPUB files. An EPUB file is actually just a ZIP container that includes the book text, images, and other data for that format. So to avoid the “restricted_content” nonsense I:
- Renamed bookxyz.epub to bookxyz.zip
- Created a text file called “lol.txt” that just contained the text “lol” (you could probably just leave the file blank, and this would still work).
- Copied the lol.txt file into the zip archive.
- Renamed bookxyz.zip back to bookxyz.epub
Now the hashes for the old and new versions of the file are wildly different, so Dropbox no longer flags the files as “restricted_content”
- February 24, 2018 @ 09:34:49 [Current Revision] by Brian Carnell
- February 24, 2018 @ 09:33:06 by Brian Carnell