Skip to main content

TechBytes 04: Hosting a simple HTTP File Server using HFS

Server! Sounds quite complicated and sophisticated, right? But do we know that any system that's capable of hosting some files could be called a file server?
No? Let's see it ourselves today.

We are going to create a file server through which files can be transferred across all the devices in a certain local area network. (If the appropriate ports are forwarded correctly, it can also work across wide area networks)
This will definitely save us time and effort to transfer huge volume of data across systems without using long cables or pendrives every now and then.

Let's download a small software named HFS from here and open it.
When opened for the first time, Windows firewall can ask for permission. Check all the boxes and click on Allow access.


Now you'll see the interface of HFS like this.


So as you can see, there's an address bar. It says 192.168.0.102:8080
Now if you try to put this address in any browser you'll see that your file server is working.


So your file server is now hosted and working. Let's now work with some data. Try dragging some files to the interface of HFS (left panel) and reload the page in your browser. You'll see your file to be accessible from the web interface.


Let's try and see if our server is accessible from other devices in the same local area network or not.


This confirms that your file server is accessible from all devices in your local area network. Now you can try playing with the advanced mode to cap or uncap download/ upload speeds, editing html template to make it look different or to change the title, body, heading of the web interface. Also you can setup authentication as well as change the look of web interface using themes. Here I'm giving you a link to download dynamic themes for your tiny web interface based HTTP file server!


Bonus for Advanced Testers: You're loving it? So do you want to make this thing work across WAN instead of LAN and make it globally accessible? Here goes my detailed guideline about how to prepare everything for doing so.

Comments

Popular posts from this blog

Vapoclean: A sensor guided hand-rub dispenser

Due to the outbreak of COVID-19, a huge amount of alcohol based disinfectants are being manufactured and supplied in many countries. But as the virus spreads through close contact, we wanted to bring down the number of times a person has to touch things. So, we made Vapoclean. Vapoclean is giving the following advantages to it's users: 1. Spraying ample amount of disinfectant as an equally distributed mist. Which ensures disinfection in the shortest time before the solution evaporates. 2. Decreases the amount of wastage. 3. Lessens down the hassle of refilling or replacing the container frequently. Project & Team Introduction Introduction User Manual Display View 01 Display View 02 Official Datasheet Copyright © 2020 Vapoclean by Shahrear Mahfuz, Md. Asifuzzaman, S M Kaiser Ahmed, Faizur Rahman. All Rights Reserved.

TechBytes 03: Dueling Neural Networks

  What does these pictures look like to you? Pictures of a person from 2014-2017, right? No. Actually these pictures are fake. A new technology called Dueling Neuron Network, an advancement in Artificial Intelligence helped creating this. Dueling neural network is a system where two neuron networks contesting with each other like in a digital cat and mouse game. It is used to generate audible and visual data. The neural network has produced many pictures like the above ones. They look like real but they aren’t. GAN (Generative Adversarial Network) created these fake pictures. This particular network system replicates real data to produce fake data. Between two pictures above, left one is generator network which has the task to create training data and to get as realistic as it can. On the other hand, the right one is discriminator network which has the task to identify which one is real and which one is fake.  GAN is created through  pairing these two ...

TechBytes 02: Block certain sites from your computer! (Windows Platform)

Sometimes we want to block few websites so that other users of the computer can't visit those pages. Today I'll show you how to do this from windows operating system based computers. Let's do it then! Step 1: Search for notepad, right click on that and select 'Run as administrator' Opening notepad with admin access Step 2: Press 'Ctrl+O', navigate to 'C:\Windows\System32\drivers\etc' and double click on hosts Opening hosts file Step 3: Then at the end of the text file type in- "127.0.0.1 www.example.com" (w/o quotes) Blocking Access to Facebook Step 4: Press 'Ctrl+S' to save the file. Now use any browser to test your target site. You'll see that the site cannot be accessed anymore! Blocking activated What if you want to revert these things? Just put a # in front of 127.0.0.1 in the hosts file. Example #127.0.0.1 www.facebook.com See you again shortly!