{"id":3692,"date":"2012-04-22T12:45:48","date_gmt":"2012-04-22T10:45:48","guid":{"rendered":"https:\/\/ingmarverheij.com\/?p=3692"},"modified":"2012-04-22T12:45:48","modified_gmt":"2012-04-22T10:45:48","slug":"how-to-install-an-ftp-client-on-a-synology-nas","status":"publish","type":"post","link":"https:\/\/ingmarverheij.com\/en\/how-to-install-an-ftp-client-on-a-synology-nas\/","title":{"rendered":"How to install an FTP client on a Synology NAS"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"\" border=\"0\" alt=\"\" align=\"left\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/embosip_FTP_Active.gif\" width=\"119\" height=\"76\" \/><\/p>\n<p>A Synology NAS can be used as a FTP server out-of-the-box (after enabling it), but there is no FTP client installed that can be used from a interactive shell. You can install a FTP client, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Lftp\" target=\"_blank\"><em>lftp<\/em><\/a> by Alexander Lukyanov, using <em>ipkg<\/em>.<\/p>\n<p>If you haven\u2019t installed <em>ipkg <\/em>yet, please install it first (<a href=\"https:\/\/ingmarverheij.com\/en\/?p=3681\" target=\"_blank\">link<\/a>).<\/p>\n<p><!--more--><\/p>\n<h4>Install package lftp<\/h4>\n<p>You can install the package <em>lftp<\/em> in with the command: <font face=\"Courier New\">ipkg install lftp<\/font><\/p>\n<h4>&#160;<a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-1-ipkg.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-1-ipkg_thumb.png\" width=\"204\" height=\"204\" \/><\/a><\/h4>\n<h4>&#160;<\/h4>\n<h4>Disable certificate verification <\/h4>\n<p>By default <em>lftp <\/em>will check the ssl certificate of the destination. If no trusted certificate is found the command is not executed.<\/p>\n<pre lang=\"bash\">$ lftp user@provider.com:\/directory\nPassword: \ncd: Fatal error: Certificate verification: Not trusted<\/pre>\n<p>You can disable the certificate verification in <u><em>lftp <\/em><\/u>by setting an option in the <em>~\/.lftp\/rc<\/em> file. This file does not exist by default, nor does the .lftp directory. <\/p>\n<ol>\n<li>Create the <em>.lftp <\/em>directory with the command : <font face=\"Courier New\">mkdir \/root\/.lftp<\/font><\/li>\n<li>Create and edit the <em>rc<\/em> file with the command : <font face=\"Courier New\">vi \/root\/.lftp\/rc<\/font><\/li>\n<li>Press \u2018i\u2019 for edit mode<\/li>\n<li>Add the line : <font face=\"Courier New\">set ssl:verify-certificate no<\/font><\/li>\n<li>Exit edit mode by pressing Escape (twice)<\/li>\n<li>Close and save the file by pressing Z (capital z) twice)<\/li>\n<\/ol>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-2-vi.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-2-vi_thumb.png\" width=\"204\" height=\"49\" \/><\/a><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-3-rc.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2012\/04\/step-3-rc_thumb.png\" width=\"204\" height=\"49\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>A Synology NAS can be used as a FTP server out-of-the-box (after enabling it), but there is no FTP client installed that can be used from a interactive shell. You can install a FTP client, lftp by Alexander Lukyanov, using ipkg. If you haven\u2019t installed ipkg yet, please install it first (link).<\/p>","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[443],"tags":[445,449,450,444],"class_list":["post-3692","post","type-post","status-publish","format-standard","hentry","category-synology","tag-dsm","tag-ipkg","tag-lftp","tag-synology-2"],"_links":{"self":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/3692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/comments?post=3692"}],"version-history":[{"count":1,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/3692\/revisions"}],"predecessor-version":[{"id":3693,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/3692\/revisions\/3693"}],"wp:attachment":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/media?parent=3692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/categories?post=3692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/tags?post=3692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}