Can I host the files myself?

Yes! This is a new feature. You can download the script to do this here.

Warning: This is a technical process, if the words "Apache/PHP", "htaccess" and "FTP" all seem foreign to you, it might be easier to hire a programmer or just use our built in storage system.

This script "streams" files from a secure location on your server. The files are secured within a folder named "files" using an .htaccess file. How it works: we generate a custom URL containing the sales codes to this script on your server and redirect the user there. Then your server does a confirming handshake with BitBuffet before streaming the correct file to the user. This is all completely seamless to the user.

Server Requirements:

PHP 5+ and Apache 2+.

Directions:

  1. Download and extract the script from above to your server in a publicly accessible location.
  2. Within the folder named "files", place your protected downloads (eg: our-album.zip, the-book.pdf, etc...)
  3. Ensure that the provided htaccess in "files" is renamed to .htaccess (note the . at the beginning of .htaccess).
  4. Be sure to double check that the files in the local folder are named exactly the same as those in BitBuffet's product page.
  5. Be sure to enter the full URL path to this download script on your server into BitBuffet http://bitbuffet.com/profile/download/.

Please contact us at contact@bitbuffet.com if you have any problems!

An Example:

  • public_html/secured/download.php -> http://example.com/secured/download.php
  • public_html/secured/files/.htaccess -> http://example.com/secured/files/ (blocked)
  • public_html/secured/files/my-longest-song.zip -> http://example.com/secured/files/my-longest-song.zip (blocked)

In BitBuffet, the product "My Longest Song" should have the "host myself" box checked, and the file name should read "my-longest-song.zip" (sans quotes).

You should also confirm that your download settings in BitBuffet has this script's public URL. Naturally, as you add more products, you must upload the new files to do your server and name them indentically on both your server and BitBuffet.