Commit d357623a authored by Romain Courteaud's avatar Romain Courteaud Committed by Sebastien Robin

Change file name.

parent a63785bd
input_file = open('input_file.webm', 'r')
input_file = open('big_file.log', 'r')
import httplib
connection = httplib.HTTPConnection('192.168.242.68:12001')
......@@ -17,7 +17,7 @@ headers = {
'Authorization': 'Basic %s' % base64string,
}
connection.request('POST', "/erp5/portal_contributions/newContent?" \
"portal_type=Big%20File&filename=input_file.webm&container_path=big_file_module&data=", "", headers)
"portal_type=Big%20File&filename=big_file.log&container_path=big_file_module&data=", "", headers)
result = connection.getresponse()
path = result.getheader("X-Document-Location")
result.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment