Re: http post goes into $_REQUEST instead into $_FILES

2013-08-16 Thread Piet van Oostrum
cerr writes: > Hi, > > I have a Python script that is executing an http POST to transfer a file from > the client to the server. I have achieved this with below code: > but my problem is, the data gets posted to the sever but arrives in > the `$_REQUEST` array and I'm expected to post stuff s

http post goes into $_REQUEST instead into $_FILES

2013-08-15 Thread cerr
Hi, I have a Python script that is executing an http POST to transfer a file from the client to the server. I have achieved this with below code: from binascii import hexlify, unhexlify from httplib import HTTPConnection, HTTPException import os import hashlib import socket import urllib2 import