Ilho
2009-09-10 22:22:05 UTC
Hi,
I am trying to call python script from WinHttp but I have not figured
out how to pass these arguments.
Here is my python script.
def save_data(req, location, data):
f = open(location, 'w')
f.write(data)
f.close()
return apache.OK
I would like to call this script to upload a file to my server but I
could not figured out how to pass location and data information to web
server.
Any help will be appreciated. thank you.
I am trying to call python script from WinHttp but I have not figured
out how to pass these arguments.
Here is my python script.
def save_data(req, location, data):
f = open(location, 'w')
f.write(data)
f.close()
return apache.OK
I would like to call this script to upload a file to my server but I
could not figured out how to pass location and data information to web
server.
Any help will be appreciated. thank you.