{"id":3433,"date":"2021-10-25T12:55:12","date_gmt":"2021-10-25T12:55:12","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=3433"},"modified":"2021-10-25T13:03:28","modified_gmt":"2021-10-25T13:03:28","slug":"how-to-create-and-edit-a-file-via-ftp","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/how-to-create-and-edit-a-file-via-ftp\/","title":{"rendered":"How to Create and Edit a File via FTP?"},"content":{"rendered":"<p>An FTP client helps to create and edit files for your web site. Creating and editing files via FTP is simpler method as compared to using the command line. Any FTP client may be used as per your preference, however during this article we are reaching to use the FTP client \u2018Filezilla\u2019.<\/p>\n<h3>Steps to Create a File<\/h3>\n<p>Follow the below steps to log into your server and create a file.<\/p>\n<p>1. Log into your server with the help of an FTP client.<\/p>\n<p>2. Check if your client has the permission to show hidden files.<\/p>\n<p>3. Ensure that you have logged in the correct directory for creating the file. You will see the directory in the right pane titled<strong>\u00a0\u201cRemote site\u201d<\/strong>. In this example, the directory is<strong>\u00a0\/home\/example_username\/example.com<\/strong>.<\/p>\n<p>4. Right click and select<strong>\u00a0\u2018Create new file\u2019<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3435\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/edit-filezilla-1-300x269.png\" alt=\"edit-filezilla-1\" width=\"437\" height=\"392\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/edit-filezilla-1-300x269.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/edit-filezilla-1.png 437w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/p>\n<p>5. You will prompted to enter the name of the file. In this example, you will find a file named\u00a0<strong>.htaccess<\/strong>. Click the\u00a0<strong>OK<\/strong>\u00a0button to save.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3436\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/edit-filezilla-2-300x197.png\" alt=\"edit-filezilla-2\" width=\"419\" height=\"275\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/edit-filezilla-2-300x197.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/edit-filezilla-2.png 419w\" sizes=\"auto, (max-width: 419px) 100vw, 419px\" \/><\/p>\n<p>6. You will find the empty file exists on the server.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3437\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/edit-filezilla-3-300x110.png\" alt=\"edit-filezilla-3\" width=\"339\" height=\"124\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/edit-filezilla-3-300x110.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/edit-filezilla-3.png 339w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/p>\n<h3>Steps to Edit a File<\/h3>\n<p>Check the below steps to edit an existing file:<\/p>\n<p>1. Log into your server using an FTP client.<\/p>\n<p>2. Ensure that you\u2019re in the correct directory to create the file. The directory is located in the right pane in a field titled\u00a0<strong>\u201cRemote site\u201d<\/strong>. In this example, the directory is<strong>\u00a0\/home\/example_username\/example.com<\/strong>.<\/p>\n<p>3. Right click on the file and select on\u00a0<strong>\u2018View\/Edit\u2019<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3439\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-1-270x300.png\" alt=\"create-filezilla-1\" width=\"340\" height=\"378\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-1-270x300.png 270w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-1.png 340w\" sizes=\"auto, (max-width: 340px) 100vw, 340px\" \/><\/p>\n<p>4. You will be prompted for choosing a text editor. You can select a specific editor that is already installed, but using the default editor for\u00a0<strong>Windows<\/strong>\u00a0which is\u00a0<strong>Notepad<\/strong>\u00a0is the easiest option.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3440\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-2-300x219.png\" alt=\"create-filezilla-2\" width=\"516\" height=\"376\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-2-300x219.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-2.png 516w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/p>\n<p>5. Notepad will open the file. Add any text essential to the file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3441\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-3-300x198.png\" alt=\"create-filezilla-3\" width=\"537\" height=\"355\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-3-300x198.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-3.png 537w\" sizes=\"auto, (max-width: 537px) 100vw, 537px\" \/><\/p>\n<p>6. After finishing, click on\u00a0<strong>\u2018File &gt; Save\u2019<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3442\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-4-300x198.png\" alt=\"create-filezilla-4\" width=\"533\" height=\"351\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-4-300x198.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-4.png 533w\" sizes=\"auto, (max-width: 533px) 100vw, 533px\" \/><\/p>\n<p>7. After a few seconds, you will be prompted for the file change. Tick the box and click on\u00a0<strong>\u2018Yes\u2019<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3443\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-5-300x233.png\" alt=\"create-filezilla-5\" width=\"437\" height=\"340\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-5-300x233.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/create-filezilla-5.png 437w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/p>\n<div class=\"kb-article-content\">\n<p>Now, the file is updated on your web server.<\/p>\n<\/div>\n<div class=\"kb-aubox-mncntnr\">\n<div class=\"kb-aubox-col kb-aubox-col-avatar\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>An FTP client helps to create and edit files for your web site. Creating and editing files via FTP is simpler method as compared to using the command line. Any FTP client may be used as per your preference, however during this article we are reaching to use the FTP client \u2018Filezilla\u2019. Steps to Create [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-3433","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create and Edit a File via FTP? - OWS KB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ownwebservers.com\/kb\/how-to-create-and-edit-a-file-via-ftp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create and Edit a File via FTP? - OWS KB\" \/>\n<meta property=\"og:description\" content=\"An FTP client helps to create and edit files for your web site. Creating and editing files via FTP is simpler method as compared to using the command line. Any FTP client may be used as per your preference, however during this article we are reaching to use the FTP client \u2018Filezilla\u2019. Steps to Create [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/how-to-create-and-edit-a-file-via-ftp\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-25T12:55:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-25T13:03:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/edit-filezilla-1-300x269.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-create-and-edit-a-file-via-ftp\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/edit-filezilla-1.png\",\"width\":437,\"height\":392,\"caption\":\"edit-filezilla-1\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-create-and-edit-a-file-via-ftp\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-create-and-edit-a-file-via-ftp\/\",\"name\":\"How to Create and Edit a File via FTP? - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-create-and-edit-a-file-via-ftp\/#primaryimage\"},\"datePublished\":\"2021-10-25T12:55:12+00:00\",\"dateModified\":\"2021-10-25T13:03:28+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-create-and-edit-a-file-via-ftp\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/how-to-create-and-edit-a-file-via-ftp\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-create-and-edit-a-file-via-ftp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-create-and-edit-a-file-via-ftp\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-create-and-edit-a-file-via-ftp\/\",\"name\":\"How to Create and Edit a File via FTP?\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/3433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=3433"}],"version-history":[{"count":3,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/3433\/revisions"}],"predecessor-version":[{"id":3444,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/3433\/revisions\/3444"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=3433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=3433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=3433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}