I currently have a script that runs a curl function to fetch logs from another server, i am trying to debug some issues with this script and would like to enable logging for this curl function.
I have read that this can be achieved using the --trace file switch.
Can someone help me add this functionality to the below code?, the log must be unique for each curl call, perhaps using the date/time?
' Build the cURL command line.
strcURL = chr(34) & strCodeBase & "curl" & chr(34) & " -s -f -o "
strcURL = strcURL & chr(34) & strServerDir & strServer & "\gr" & strShortYear & strMonth & strDay & ".zip" & chr(34) & " "