DEV Community

Discussion on: Transfer files from laptop to mobile using Python

Collapse
 
phlash profile image
Phil Ashby • Edited

Almost as easy to go the other way too, pop in a POST handler for the BaseHTTPServer that accepts multipart/form-data, and craft an HTML page with a file input box.

fragments.turtlemeat.com/pythonweb... :)

Please do NOT expose to the Internet - there's a good reason NGiNX and Apache are popular and safe!

[edited to add] You can frequently find your laptop or other local devices are registered in your network with a name like: device.local or device.lan

Collapse
 
sndp487 profile image
Sandeep

github.com/sndp487/share-it

This is for mobile to laptop. Provides a simple web UI.

Collapse
 
tamouse profile image
Tamara Temple

Oh, this is almost diabolical in it's greatness! I never really think about getting files from my mobile, since I'm mostly always using google drive.