{"id":176,"date":"2024-03-12T09:21:43","date_gmt":"2024-03-12T09:21:43","guid":{"rendered":"https:\/\/bestbudgethosting.in\/blog\/?p=176"},"modified":"2024-03-12T10:07:39","modified_gmt":"2024-03-12T10:07:39","slug":"how-to-work-with-file-transfer-protocol-ftp","status":"publish","type":"post","link":"https:\/\/bestbudgethosting.in\/blog\/how-to-work-with-file-transfer-protocol-ftp\/","title":{"rendered":"How to work with File Transfer Protocol (FTP)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">File Transfer Protocol\u00a0<\/h2>\n\n\n\n<p>File Transfer Protocol (FTP) It is a standard network protocol used for transferring files between a client and a server on a computer network. FTP is often used for uploading files from a local computer to a web <a href=\"https:\/\/www.bestbudgethosting.in\/web-hosting\/\">server<\/a> or downloading files from a web server to a local computer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"690\" height=\"335\" src=\"http:\/\/bestbudgethosting.in\/blog\/wp-content\/uploads\/2024\/03\/FTTO.png\" alt=\"File Transfer Protocol (FTP)\" class=\"wp-image-179\" srcset=\"https:\/\/bestbudgethosting.in\/blog\/wp-content\/uploads\/2024\/03\/FTTO.png 690w, https:\/\/bestbudgethosting.in\/blog\/wp-content\/uploads\/2024\/03\/FTTO-300x146.png 300w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/figure>\n\n\n\n<p>Here&#8217;s how FTP works:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Client-Server Model<\/strong>: FTP File Transfer Protocol\u00a0operates on a client-server model. The client is the device or computer from which files are being transferred, and the server is the remote computer that stores the files.<\/li>\n\n\n\n<li><strong>Authentication<\/strong>: To transfer files via FTP, the client needs to authenticate itself to the server by providing a username and password. Once authenticated, the client can access files and directories on the server according to the permissions assigned to its account.<\/li>\n\n\n\n<li><strong>Commands<\/strong>: FTP uses a set of commands to perform various operations such as uploading, downloading, deleting, renaming, and listing files and directories on the server.<\/li>\n\n\n\n<li><strong>Data Transfer Modes<\/strong>: FTP supports two modes of data transfer:\n<ul class=\"wp-block-list\">\n<li><strong>ASCII mode<\/strong>: Used for transferring text files. In this mode, the files are transferred as plain text, and any line endings are converted according to the client and server&#8217;s operating systems.<\/li>\n\n\n\n<li><strong>Binary mode<\/strong>: Used for transferring non-text files, such as images, videos, executables, etc. In this mode, files are transferred as-is without any modification.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Security<\/strong>: Traditional FTP does not encrypt data transferred between the client and server, making it vulnerable to eavesdropping and data interception. However, secure variants like FTPS (FTP Secure) and SFTP (SSH File Transfer Protocol) provide encryption to ensure secure data transfer.<\/li>\n<\/ol>\n\n\n\n<p>FTP is widely used in various scenarios such as website maintenance, software distribution, file sharing, and remote backups. However, due to security concerns with traditional FTP (File Transfer Protocol, many organizations prefer to use more secure alternatives like FTPS or SFTP for transferring files over the internet.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"954\" height=\"384\" src=\"http:\/\/bestbudgethosting.in\/blog\/wp-content\/uploads\/2024\/03\/image.png\" alt=\"create FTP account cPanel\" class=\"wp-image-177\" srcset=\"https:\/\/bestbudgethosting.in\/blog\/wp-content\/uploads\/2024\/03\/image.png 954w, https:\/\/bestbudgethosting.in\/blog\/wp-content\/uploads\/2024\/03\/image-300x121.png 300w, https:\/\/bestbudgethosting.in\/blog\/wp-content\/uploads\/2024\/03\/image-768x309.png 768w\" sizes=\"auto, (max-width: 954px) 100vw, 954px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You can use your cPanel username and password to access all folders and files via<a href=\"https:\/\/en.wikipedia.org\/wiki\/File_Transfer_Protocol\" target=\"_blank\" rel=\"noopener\"> FTP<\/a>. However, if you want to create an FTP user account for a specific folder or you don\u2019t want to allow access to your root files, then you can create a separate FTP Account.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">File Transfer Protocol\u00a0&#8211; Follow these simple steps to create an account in cPanel:<\/h2>\n\n\n\n<p>1.\u00a0Log into your cPanel account. For instructions on how to log in to cPanel<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.dreamithost.com.au\/wp-content\/uploads\/2023\/01\/HowToCreateAnFTPAccountInCpanel_Image1.png\" alt=\"Screenshot: cPanel Login\" class=\"wp-image-16626\"\/><\/figure>\n\n\n\n<p>2.&nbsp;In the&nbsp;<strong>Files<\/strong>&nbsp;section, click&nbsp;<strong>FTP Accounts<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.dreamithost.com.au\/wp-content\/uploads\/2023\/01\/HowToCreateAnFTPAccountInCpanel_Image2.png\" alt=\"Screenshot: Files Section of cPanel Highlighting FTP Accounts\" class=\"wp-image-16628\"\/><\/figure>\n\n\n\n<p>3.&nbsp;Under&nbsp;<strong>Add FTP Account<\/strong>&nbsp;text, fill in the following details:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Log in:<\/strong>&nbsp;FTP Username like&nbsp;<strong>new-user<\/strong>&nbsp;(without spaces).<\/li>\n\n\n\n<li><strong>Password:<\/strong>&nbsp;Enter a new FTP password or generate a new password by clicking on the&nbsp;<strong>Password Generator<\/strong>&nbsp;button.<\/li>\n\n\n\n<li><strong>Directory:<\/strong>&nbsp;If you want to give access to the entire \/public_html folder, enter&nbsp;<strong>public_html<\/strong>. Alternatively, you can change the folder path to a different path, such as&nbsp;<strong>public_html\/new-user<\/strong>, and you will grant your FTP user access to only the&nbsp;<strong>new-user<\/strong>&nbsp;folder. Your FTP user will be unable to access folders outside the&nbsp;<strong>public_html\/new-user<\/strong>&nbsp;folder.<\/li>\n\n\n\n<li><strong>Quota:<\/strong>&nbsp;Specify the quota in numerical words or select&nbsp;<strong>unlimited<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p>Once completed, click the&nbsp;<strong>Create FTP Account<\/strong>&nbsp;button.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.dreamithost.com.au\/wp-content\/uploads\/2023\/01\/HowToCreateAnFTPAccountInCpanel_Image3.png\" alt=\"Screenshot: Add FTP Account Form\" class=\"wp-image-16629\"\/><\/figure>\n\n\n\n<p>Now you can access your FTP account by using your newly-created FTP account:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Host:<\/strong>&nbsp;Your website\u2019s IP or enter your domain \u2014 ftp.example.com (replace \u201cexample.com\u201d with your domain name).<\/li>\n\n\n\n<li><strong>Username:<\/strong>&nbsp;NewFTPUser@example.com<\/li>\n\n\n\n<li><strong>FTP Port:<\/strong>&nbsp;21 (Default port is 21).<\/li>\n\n\n\n<li><strong>FTP Password:<\/strong>&nbsp;Your FTP Password.<\/li>\n<\/ul>\n\n\n\n<p>You can see a list of all File Transfer Protocol\u00a0accounts created under FTP Accounts.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.dreamithost.com.au\/wp-content\/uploads\/2023\/01\/HowToCreateAnFTPAccountInCpanel_Image4.png\" alt=\"Screenshot: List of FTP Accounts\" class=\"wp-image-16630\"\/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>File Transfer Protocol\u00a0 File Transfer Protocol (FTP) It is a standard network protocol used for transferring files between a client and a server on a computer network. FTP is often used for uploading files from a local computer to a web server or downloading files from a web server to a local computer. Here&#8217;s how [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":178,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-176","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-file-transfer-protocol"],"_links":{"self":[{"href":"https:\/\/bestbudgethosting.in\/blog\/wp-json\/wp\/v2\/posts\/176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bestbudgethosting.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bestbudgethosting.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bestbudgethosting.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bestbudgethosting.in\/blog\/wp-json\/wp\/v2\/comments?post=176"}],"version-history":[{"count":2,"href":"https:\/\/bestbudgethosting.in\/blog\/wp-json\/wp\/v2\/posts\/176\/revisions"}],"predecessor-version":[{"id":183,"href":"https:\/\/bestbudgethosting.in\/blog\/wp-json\/wp\/v2\/posts\/176\/revisions\/183"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bestbudgethosting.in\/blog\/wp-json\/wp\/v2\/media\/178"}],"wp:attachment":[{"href":"https:\/\/bestbudgethosting.in\/blog\/wp-json\/wp\/v2\/media?parent=176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bestbudgethosting.in\/blog\/wp-json\/wp\/v2\/categories?post=176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bestbudgethosting.in\/blog\/wp-json\/wp\/v2\/tags?post=176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}