PSiTransfer – A Simple Open Source Self-hosted File Sharing Solution
A while ago, I have described an easy and fast way to transfer and share files over Internet using Trasnfer.sh web service. Today, we are going to discuss a similar tool called PSiTransfer, a simple and open source file sharing utility. Using PSiTransfer, we can either share our files locally or globally. Unlike transfer.sh, it is not a website. It is actually a self-hosted file sharing platform. You can deploy it on your home system to share files over local area network. Or, you can deploy it on a VPS or Cloud, so that you can access or share your files from anywhere, using any Internet-enabled device. Since it comes with built-in web server, you don’t need to deploy any other extra software. All you need is just a web browser to access or share your stuffs.
Concerning about features, we can list the following:
- No account or login required.
- Upload single or multiple files at once.
- Upload very big files.
- Resume upload or download.
- Download files as zip/tar.gz archive.
- Set an expire-time for your upload bucket.
- One-time downloads.
- Password protected download list.
- Mobile friendly responsive interface.
- Free and Open Source.
- And more.
In this brief guide, I will show you how to deploy a local file sharing solution using PSiTransfer in Unix-like operating systems.
PSiTransfer requires Node >=7.4 or later version in order to function properly. To install Nodejs on your Linux box, refer the following guide.
Once Nodejs, installed, go to PSiTransfer download page, and download the latest version. As of writing this, the latest version was 1.2.0.
$ wget https://github.com/psi-4ward/psitransfer/releases/download/1.2.0/psitransfer-1.2.0.tar.gz
Extract it using command:
$ tar zxvf psitransfer-1.2.0.tar.gz
It will extract all contents in a folder called “psitransfer-1” in your current working directory. Go to the folder:
$ cd psitransfer-1/
And, Install PSiTransfer using command:
$ NODE_ENV=production npm install
Finally, run the following command to start PSiTransfer:
$ npm start
> [email protected] start /home/sk/psitransfer-1 > NODE_ENV=production node app.js PsiTransfer listening on http://0.0.0.0:3000
Allow the port 3000 via your firewall or router in order to access the PSiTransfer dashboard from a remote system.
On RPM based systems, use the following command to allow port 3000.
$ sudo firewall-cmd --permanent --add-port=3000/tcp
Restart firewalld to apply the changes.
$ sudo firewall-cmd --reload
If you use UFW firewall, then run the following command as sudo user to allow the port 3000.
$ sudo ufw allow 3000
Open your web browser and navigate to http://IP-address:3000 or http://domain-name:3000.
This is how PSiTransfer web dashboard looks like.
As you can see, PSiTransfer web interface is fairly simple to use. Click on the + (plus) sign to upload the files of your choice. Alternatively, just and drag and drop the files over the Files section. You can upload or multiple files at once. Also, you can upload files of any size.
Once the files has been selected, choose the retention period in the Settings section.
Retention period has many options, such as,
- 1 hour
- 6 hours
- 1 day
- 3 days
- 1 week
- 2 weeks
- 4 weeks
- 8 weeks
- one time download
The uploaded files will be kept in the Server depending upon the retention period you chose.
Also, you can set the password to the uploaded files. It will add a bit security to the shared files. The users should enter the password in order to unlock and download the shared files.
Finally, click Upload button to upload your files to your server.
Now, you will get the download link of the uploaded files. You can pass it on to your friends, colleagues or whoever wants to download and use your stuff.
Also, you can mail the download link from the PSiTransfer dashboard itself or just copy/paste it to your mail ID or any other preferred medium (Whatsapp, messenger) and send it to your recipients.
Once the recipients click the Download link, they will be asked to enter the password to unlock the download link.
If they entered the correct password, they can have the download links for all shared files.
Very simple, isn’t it? You don’t need to be a Linux ninja to deploy a moderate secure file sharing server for your home network. Any one can setup a simple file sharing environment within few minutes using PSiTransfer.
And, that’s all. I hope this helps. We will be posting simple and useful guides every day. Subscribe to our Newsletter and follow our social media links to get updates as soon as possible. If you find our guides useful, please share them on your social, professional networks and support OSTechNix.
More good stuffs to come. Stay tuned!
Thanks for stopping by!
Help us to help you:
- Subscribe to our Email Newsletter : Sign Up Now
- Support OSTechNix : Donate Via PayPal
- Download free E-Books and Videos : OSTechNix on TradePub
- Connect with us: Facebook | Twitter | Google Plus | LinkedIn | RSS feeds
Have a Good day!!