I recently had a need to upload large files to a server via HTTP. Most of the solutions required tweaking the web server or PHP. Instead, I found a Python script that would write the data in chunks so it could handle large files. I modified the script to include a few additional features which include reporting a hash to the user, appending a date and revision to the file. I did my testing with Apache so your mileage may very with other httpd instances. The script is released under to GNUv3 so feel free to download a copy for your use or destruction. You can find the script at Github.