how do i download this file using the curl_cli. on MDS we do not have wget/curl so using curl_cli.
I get error when i use this command:
/opt/CPsuite-R80/fw1/bin/curl_cli --proxy x.x.x.x:yyyy -v https://sc1.checkpoint.com/freud/IpToCountry.csv.gz --cacert $CPDIR/conf/ca-bundle.crt
But even I tried without proxy in someother i get the same results.
/opt/CPsuite-R80/fw1/bin/curl_cli -v https://sc1.checkpoint.com/freud/IpToCountry.csv.gz --cacert $CPDIR/conf/ca-bundle.crt
I see all connected and when the download is about to begin - i see junk characters.
< HTTP/1.1 200 OK < Accept-Ranges: bytes < Content-Type: application/x-gzip < ETag: "" < Last-Modified: Thu, 08 Aug 2019 10:14:17 GMT < Server: AkamaiNetStorage < Content-Length: 1840827 < Cache-Control: max-age=604800 < Date: Mon, 12 Aug 2019 16:16:00 GMT < Connection: keep-alive < ‹ùõK] IpToCountry.csv ¬ý]“\·Ñ-ÞOÄü†¯ß‰S{o|^’4-Q$%š¤äcOÌEIêGê#²[O“´ôë™øX¥ÇµP…mD8J³W"w"L$‰?-Î{¿.îOÿÏŸ´iü’š·Ç»cúYëê×Ã!µ«?oå÷óÇOÇ÷·Ç?ý¿ÿ_µaÝâyO¿–Ÿ/õ÷çÛ»«9p\Ý6Þ{B™L ,ÛBØ'½¢°¬9øóà¯^뀿:þz¼«à„7Ǿ;nî¿;bä»Ï÷¬ˆüÍÁ¬Þ’o~÷¥þ<–ߟ·ïw?¼€Ö‚ßì³Ïs®ˆPÁ;FLQ…{—Íõ.ˆ¬Á[»¡¹%Äš…a ä»©Ü >ìçŠpLU%öí[éüÛ»ÛO7?>zûéøéæc#R6&Ô ‚(ø-ÍÔÑÏœ?l¢ñ+Â*Ø-„sª6å2´b#J›:r~9˜IïìÓ3(wžˆ™ÞYµË4¿{ rþµþüY~ï~¬Ÿˆ,ô͉F>[yuõ‰ëÉg¿ú»þˆÐ_ßûX;W+x;6U3¢·8jX2*ËÍ8»"7Ò» ²ÜL
Ref#sk83520