-
Select a file on your local computer.
-
Create a simple http server from your local computer. Run on command line : python -m SimpleHTTPServer {port} //port eg.8000
This will create a localhost on port 8000 (http://localhost:8000)
-
Convert localhost to local ip : Run on command line : "ifconfig". Copy the ip address for en0 inet
-
Attach the full path to the ip you got from ifconfig i.e. http://{ip}:{port}/path/to/the/file
-
Convert IP to QR code Install pyqrcode library, Run on command line : sudo pip install pyqrcode Execute convert_ip_to_qr.py with the ip you generated.
It will output a QR code.
-
Scan that QR code in your phone and the file will be downloaded automatically. (download the app preferably to scan QR code)
-
Notifications
You must be signed in to change notification settings - Fork 0
Tool to transfer any file from pc to phone by scanning QR code
License
shrinil-thakkar/File-Transfer-via-QR-code
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Tool to transfer any file from pc to phone by scanning QR code
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published