{"id":136,"date":"2017-11-17T11:01:19","date_gmt":"2017-11-17T13:01:19","guid":{"rendered":"http:\/\/xaxowareti.com.br\/?p=136"},"modified":"2017-11-17T11:01:19","modified_gmt":"2017-11-17T13:01:19","slug":"use-wget-command-to-download-files-from-https-domains","status":"publish","type":"post","link":"https:\/\/xaxowareti.com.br\/?p=136","title":{"rendered":"Use wget Command To Download Files From HTTPS Domains"},"content":{"rendered":"<p><span class=\"drop_cap\">H<\/span>ow do I download a file using https:\/\/example.com\/dl\/foo.tar.gz using wget command line utility?<br \/>\n<span id=\"more-13122\"><\/span><br \/>\nGNU Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies. The syntax is:<\/p>\n<p><center><iframe id=\"_mN_gpt_916114142\" width=\"300\" height=\"250\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" sandbox=\"allow-same-origin allow-forms allow-popups allow-scripts allow-pointer-lock allow-popups-to-escape-sandbox\" data-mce-fragment=\"1\"><\/iframe><\/center><kbd>wget https:\/\/cyberciti.biz\/foo\/bar.tar.gz<\/kbd><\/p>\n<p>If you don\u2019t want about checking the validity of the certificate just pass the option\u00a0<kbd>--no-check-certificate<\/kbd>\u00a0to the wget command-line:<\/p>\n<p><kbd>wget --no-check-certificate https:\/\/cyberciti.biz\/foo\/bar.tar.gz<\/kbd><\/p>\n<p>You can pass the\u00a0<kbd>--no-proxy<\/kbd>\u00a0option to the wget command. This option tells wget not to use proxies, even if the appropriate `*_proxy\u2019 environment variable is defined:<\/p>\n<p><kbd>wget --no-proxy https:\/\/cyberciti.biz\/foo\/bar.tar.gz<\/kbd><\/p>\n<p>Set https proxy using httpd_proxy variable:<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"code\">\n<pre class=\"bash\">export https_proxy=\"https:\/\/USERNAME-HERE:PASSWORD-HERE@Server-Name-Here:PORT-NUMBER-HERE\/\"\r\nexport https_proxy=\"https:\/\/vivek:TopSecretePassword@server1.cyberciti.biz:3128\/\"\r\nwget https:\/\/cyberciti.biz\/foo\/bar.tar.gz&lt;\/kbd&gt;<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Or pass proxy server username and password to the server using wget command as follows:<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"code\">\n<pre class=\"bash\">export https_proxy=\"https:\/\/server1.cyberciti.biz:3128\/\"\r\nwget --http-user=\"USER\" --http-password=\"PASSWORD\" https:\/\/cyberciti.biz\/foo\/bar.tar.gz&lt;\/kbd&gt;<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How do I download a file using https:\/\/example.com\/dl\/foo.tar.gz using wget command line utility? GNU Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies. The syntax is: wget https:\/\/cyberciti.biz\/foo\/bar.tar.gz If you don\u2019t want about checking the validity of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2],"tags":[],"class_list":["post-136","post","type-post","status-publish","format-standard","hentry","category-dicassolucoes","category-geral"],"_links":{"self":[{"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/posts\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=136"}],"version-history":[{"count":1,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/posts\/136\/revisions"}],"predecessor-version":[{"id":137,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=\/wp\/v2\/posts\/136\/revisions\/137"}],"wp:attachment":[{"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xaxowareti.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}