comanda = os.system("curl -X PUT -T name.xml
http://%s:%s@%s:%s%s" % (user, pw, host, port, link1))
user = username
pw = password
host = ip_camera
port = 80
link1 = /ISAPI/Image/channels/1/ircutFilter ON/OFF the IR FILTER
link2 = /PTZCtrl/channels/1/Continuous
and in name.xml you have to put the command like:
<PTZData><pan>0</pan><tilt>-50</tilt></PTZData>
PS. import os before programming
Best regards,
George Dumitru