Download
Python
Downloading files using Python 2.7 on Linux:
Downloading files using Python 3 on Linux:
PHP
Download files with PHP File_get_contents():
Download files with PHP Fopen():
Download file using PHP and pipe it to bash:
Ruby
Perl
JavaScript
Following JS code is based on here.
Create a file called wget.js:
We can use created wget.js along with cscript.exe to download files:
Upload
Python3
Start a uploadserver:
Upload file: