There is a simple way to share files via web (by creating a Python server instance) by entering a simple python command:
python -m SimpleHTTPServer 9914
You should run the above command on the directory you want to share.
With this command, the directory where we ran this will be shared (including any sub-directories) in the specified port 9914.
To access the files and folders shared, you only need to open a web browser and navigate to our device's IP address (where this command was executed), specifying the port we chose. In this example, "http://192.168.1.1:9914".
No comments:
Post a Comment