Using Python3 and wget to transfer files to a remote computer



Using Python3 and wget to transfer files to a remote computer

Using Python3 and wget to transfer files to a remote computer

Python3’s http.server module allows you to stand up a web server from any folder on your local computer making it easy to wget that file from a remote machine you have access to.

Command:
Local: python3 -m http.server
Remote: wget http://IP:PORT/filename