I'm trying to automatically download log files from our video conference servers. When I try this with a browser is works (authentication -> save file as).
Now I want to use the cURL command in a script to get the files but it wont work. Here the command I use:
curl --anyauth --insecure --proxy-user 'xxx:yyy' --proxy-ntlm --proxy 'http://x.x.x.x:8080/'
--connect-timeout '10' --user 'authname:authpw' --output 'output.txt' https://x.x.x.x/localcdr.csv
The result in the output.txt file = 401 Unauthorized - User authentication is required.
Now the tricky part: 1 of the 7 servers is returning the file with the above command, the other 6 wont :(
With a browser => they work.
Who can help me or has some tips?
Thanks in advance