{"id":2447,"date":"2016-01-19T11:25:42","date_gmt":"2016-01-19T11:25:42","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=2447"},"modified":"2016-01-19T14:17:01","modified_gmt":"2016-01-19T14:17:01","slug":"vsftpd-ftp-server","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/software_utilities\/web-servers\/vsftpd-ftp-server","title":{"rendered":"vsftpd-FTP Server"},"content":{"rendered":"<p>\nvsftpd&nbsp;is a&nbsp;faste&nbsp;and secure FTP server&nbsp;for UNIX-like systems\n<\/p>\n<h4>\nInstalling vsftpd<br \/>\n<\/h4>\n<p>\nIn order to allow the transfer of files between your Mac and your Raspberry Pi, you&#39;ll need to set up an FTP connection. To do so,\n<\/p>\n<p>\nEnter this command to allow you to take full control of the web server&#39;s root directory (this assumes you&#39;ve already installed apache):\n<\/p>\n<pre>\r\n<code>\r\nsudo chown -R pi \/var\/www\r\n<\/code><\/pre>\n<p>\nEnter this command to install&nbsp;vsftpd\n<\/p>\n<pre>\r\n<code>\r\nsudo apt-get install vsftpd\r\n<\/code><\/pre>\n<p>\nNow edit&nbsp;the configuration file for vsftpd to make it more secure and user friendly.\n<\/p>\n<pre>\r\n<code>\r\nsudo nano \/etc\/vsftpd.conf\r\n<\/code><\/pre>\n<p style=\"margin-left: 40px;\">\nCheck &quot;anonymous_enable=NO&quot; to disable Anonymous FTP)\n<\/p>\n<p style=\"margin-left: 40px;\">\nEnsure &quot;local_enable=YES&quot; and &quot;write_enable=YES&quot; are un-commented (to allow you to make changes to the FTP server).\n<\/p>\n<p style=\"margin-left: 40px;\">\nEnsure &quot;local_umask=022&quot; is not commented out (this allows files uploaded as the &quot;pi&quot; user for instance to be served (apache&nbsp;runs&nbsp;as root)\n<\/p>\n<p style=\"margin-left: 40px;\">\nAdd &quot;force_dot_files=YES&quot; to&nbsp;the bottom to enable files such as .htaccess\n<\/p>\n<p>\nUse CTRL+X to save and exit\n<\/p>\n<p>\nRestart the new FTP server\n<\/p>\n<pre>\r\n<code>\r\nsudo service vsftpd restart\r\n<\/code><\/pre>\n<p>\n<br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>vsftpd&nbsp;is a&nbsp;faste&nbsp;and secure FTP server&nbsp;for UNIX-like systems Installing vsftpd In order to allow the transfer of files between your Mac and your Raspberry Pi, you&#39;ll need to set up an FTP connection. To do so, Enter this command to allow you to take full control of the web server&#39;s root directory (this assumes you&#39;ve already [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[121,34],"tags":[],"class_list":["post-2447","post","type-post","status-publish","format-standard","hentry","category-file-sharing","category-web-servers"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=2447"}],"version-history":[{"count":3,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2447\/revisions"}],"predecessor-version":[{"id":2451,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2447\/revisions\/2451"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=2447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=2447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=2447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}