I need to handle uploaded files on my server. Problem is, the uploads
come from other user applications that I have no control over. My
problem centers around how to get the uploaded file without
referencing or knowing the index/key name of the file.
My app engine python code:
file=self.request.POST['file']
As you can see, I have to explicitly define the key name as 'file'.
However, the uploading application doesn't have this defined.
Pys60 code:
conn=httplib.HTTPConnection("www.myserver.com")
conn.request("POST", "/upload", 'file")
This only defines the method, destination, and file object. How can I
still get the POSTED file?
Please do not ask me to change or manipulate the client upload
procedures/functions because I don't have access to them.!
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.