{"id":95,"date":"2019-07-29T16:02:57","date_gmt":"2019-07-29T15:02:57","guid":{"rendered":"http:\/\/xv6.de\/?page_id=95"},"modified":"2022-08-15T09:23:11","modified_gmt":"2022-08-15T08:23:11","slug":"download-files-from-web-via-command-line","status":"publish","type":"page","link":"https:\/\/xv6.de\/?page_id=95","title":{"rendered":"Download Files from Web \/ FTP Server via Command Line"},"content":{"rendered":"\n<p>You may use<em> curl<\/em> and paramter <em>-o<\/em> to save a file localy.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl http:\/\/some.server.com\/some.file -o some.file.txt<\/code><\/pre>\n\n\n\n<p>Download File from FTP Server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -u anonymous:pwd --remote-name \"ftp:\/\/hostname\/path\/to\/file\/filename\"<\/code><\/pre>\n\n\n\n<p>If the<em> &#8211;remote-name<\/em> is omitted, the content is shown on the console and not saved in a file. May also work if <em>-o<\/em> and a <em>path\/filename<\/em> is specified under which the downloaded file will be saved.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may use curl and paramter -o to save a file localy. Download File from FTP Server: If the &#8211;remote-name is omitted, the content is shown on the console and not saved in a file. May also work if -o and a path\/filename is specified under which the downloaded file will be saved.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-95","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/xv6.de\/index.php?rest_route=\/wp\/v2\/pages\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xv6.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/xv6.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/xv6.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xv6.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=95"}],"version-history":[{"count":14,"href":"https:\/\/xv6.de\/index.php?rest_route=\/wp\/v2\/pages\/95\/revisions"}],"predecessor-version":[{"id":223,"href":"https:\/\/xv6.de\/index.php?rest_route=\/wp\/v2\/pages\/95\/revisions\/223"}],"wp:attachment":[{"href":"https:\/\/xv6.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}