Insert -k after -f in the command and see if curl downloads the file.
Open ABCDCurl.r in notepad. Insert -k after -f where ever you find "curl -f". There should be space between -f and -k. Also if C is uppercase make it lowercase. Though windows does not care about case.
Run ABCDCurl from it's...