Share your data files quickly using the python SimpleHTTPServer

Before the cloud era, people used FTP and HTTP to exchange big data files… TIL how to setup quickly a temporal HTTP server to share my files with people out there with 1 command… (thanks fuzz!)

To share files on a LAN:

If you leave <port> empty 8000 will be used.

To share the same files on the internet, you only need to setup port forwarding for the port you used (or for the port 8000 if you used the default). You may also need to setup dynamic DNS (eg: https://nsupdate.info/about/) if you don’t have a static IP and you intend to keep the server running for long.. πŸ™‚

Leave a Reply

Your email address will not be published. Required fields are marked *