Ubuntu user can easily share a temporary file/folder to others by running SimpleHTTPServer script with python.
Just navigate to the directory you want to share in terminal and run:
python -m SimpleHTTPServer
then users in the same LAN can get this directory by typing this in browser:
http://http_server_IP_here:8000
However,this doesn’t support uploading files and what if you want a file comes from a Windows user.
Here is a script written by bones7456 that create a simple http server for others uploading files from Windows as well as downloading on the same network.
Create and edit a new file “SimpleHTTPServerWithUpload.py” (without quotes),then copy and paste following code as its content:
Now,navigate to the folder that you want to share and provide uploading to others,and just run this script with python (assuming the python script saved in ~/Downloads folder).
python ~/Downloads/SimpleHTTPServerWithupload.py
In following picture,My home folder provides uploading as well as downloading service:

Note:For security,just use this in a temporary task.


