Fri. Nov 22nd, 2019

Transferring Files Using Python’s Built-in HTTP Server

Source: http://feeds.maketecheasier.com/~r/MakeTechEasier/~3/hjmhCp4XMD8/

Transferring Files Using Python’s Built-in HTTP Server

The need to transfer files over a network is one that arises often. GNU/Linux systems support multiple protocols and tools for doing so, some of which are designed for somewhat permanent file sharing (such as SMB, AFP, and NFS), while others such as Secure Copy (SCP) are used for quick manual and scripted file transfers. Among these is the HyperText Transfer Protocol (HTTP), the versatile and ubiquitous protocol on which the World Wide Web relies. Python, which is included by default in most Linux distributions, provides simple HTTP servers through the “SimpleHTTPServer” and “http.server” modules. The former is found in the Python 2 Standard Library,… Read more

Source: http://feeds.maketecheasier.com/~r/MakeTechEasier/~3/hjmhCp4XMD8/

Leave a Reply

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