Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use MediaFire as file storage on Linux server
MediaFire is best deal for online storage. The cost for personal use is $5/1TB/m or $45/1TB/m. I own an account since 2014 that I keep paying $2.50/m and barely using. There is no upload/download fees and speeds are quite reasonable, lately I measured download around 1.5-5MB/s, although upload seems to be way faster. Good for backup or sharing files. Downloading 1GB over 2MB/s connection takes approx 8min.

Unfortunately it is mostly designed as web based file sharing storage. They also have Windows client that synchronizes a folder on your PC automatically. They released SDK for C++, JS, PHP, Java, Objective C, C# and Python, that allow uploading files:

Then, how to use it then as mounted filesystem on Linux ?

MediaFire supports fuse driver:

Note that your files may be public by default. But if you create a directory and lock it as private, any files ad subdirectories inside will inherit privacy.

I have tested the following on Ubuntu 14 machine (if you are root, drop sudo):

sudo apt-get install cmake build-essential libjansson-dev libcurl4-openssl-dev libfuse-dev libssl-dev git
git clone
cd mediafire-fuse
mkdir build
cd build
cmake ..
sudo make install
cd ~
rm -r mediafire-fuse
mkdir  -p ~/.config/mediafire-tools

Now open file ~/.config/mediafire-tools/config and add your MediaFire credentials:

--password MySuperSecretPassword

Don't forget that if you want to mount it via sudo, your home directory is /root so the credentials will be in /root/.config/mediafire-tools/config

Now you can use FTP style console to access your files using mediafire-shell

In order to mount it as filesystem:

mkdir -p /mnt/mf
chmod 0777 /mnt/mf
mediafire-fuse /mnt/mf

Forum Jump:

Users browsing this thread: 1 Guest(s)