Sender
curl -T file http://host/upload.php
Receiver upload.php code
if ($_SERVER["REQUEST_METHOD"]=="PUT") file_put_contents(date("YmdHis") ,file_get_contents("php://input"));
// date("YmdHis") is output filename
Sender
curl -T file http://host/upload.php
Receiver upload.php code
if ($_SERVER["REQUEST_METHOD"]=="PUT") file_put_contents(date("YmdHis") ,file_get_contents("php://input"));
// date("YmdHis") is output filename
This page is an archive of entries in the Programming category from September 2017.
Programming: May 2016 is the previous archive.
Programming: December 2019 is the next archive.
Find recent content on the main index or look in the archives to find all content.
Recent Comments