This is my script I use to upload a text file post to my webserver.