simply open a command prompt or terminal in the directory you want to share and enter the command:
python -m SimpleHTTPServer 8000
You can substitute 8000 with any other free port.
Run ipconfig , or ifconfig if you are in Linux to find your local ip e.g. 192.168.1.2
From your iPad, open safari and go to
http://192.168.1.2:8000
to access and download the files to your iPad.
you have 8000 as the first port, but 8080 as the second.
ReplyDeletes/8080/8000/
ReplyDeleteAlso, python -m http.server for python 3.x.
ReplyDeleteCool trick. You mismatched the ports though.
ReplyDeleteThe port in the URL needs to match the port in the python command.
ReplyDeleteThank you, edited !
ReplyDeleteNice! Thanks!
ReplyDelete