{"id":3367,"date":"2024-04-20T15:38:35","date_gmt":"2024-04-20T10:08:35","guid":{"rendered":"https:\/\/shricloud.com\/kb\/?post_type=manual_kb&#038;p=3367"},"modified":"2024-05-18T12:15:44","modified_gmt":"2024-05-18T06:45:44","slug":"how-to-upload-files-with-ftp","status":"publish","type":"manual_kb","link":"https:\/\/shricloud.com\/kb\/article\/how-to-upload-files-with-ftp\/","title":{"rendered":"How to Upload Files with FTP?"},"content":{"rendered":"<div class=\"row\">\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\">\n<h2><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-3283\" src=\"https:\/\/shricloud.com\/kb\/wp-content\/uploads\/2024\/04\/a-meticulously-designed-digital-illustration-of-a-wr8AIl7_SLum2gQGlLB_Pw-fagriGLLTsCpa8LXoj4duA-300x169.jpeg\" alt=\"How to Upload Files with FTP\" width=\"767\" height=\"432\" srcset=\"https:\/\/shricloud.com\/kb\/wp-content\/uploads\/2024\/04\/a-meticulously-designed-digital-illustration-of-a-wr8AIl7_SLum2gQGlLB_Pw-fagriGLLTsCpa8LXoj4duA-300x169.jpeg 300w, https:\/\/shricloud.com\/kb\/wp-content\/uploads\/2024\/04\/a-meticulously-designed-digital-illustration-of-a-wr8AIl7_SLum2gQGlLB_Pw-fagriGLLTsCpa8LXoj4duA-1024x576.jpeg 1024w, https:\/\/shricloud.com\/kb\/wp-content\/uploads\/2024\/04\/a-meticulously-designed-digital-illustration-of-a-wr8AIl7_SLum2gQGlLB_Pw-fagriGLLTsCpa8LXoj4duA-768x432.jpeg 768w, https:\/\/shricloud.com\/kb\/wp-content\/uploads\/2024\/04\/a-meticulously-designed-digital-illustration-of-a-wr8AIl7_SLum2gQGlLB_Pw-fagriGLLTsCpa8LXoj4duA.jpeg 1280w\" sizes=\"(max-width: 767px) 100vw, 767px\" \/><\/h2>\n<h3>To Upload Files with FTP:<\/h3>\n<p class=\"article-title\"><strong><span style=\"font-size: 16px;\">Overview<\/span><\/strong><\/p>\n<\/div>\n<p>This document explains how to use the command-line interface (CLI) or a third-party client to store files on your File Transfer Protocol (FTP) server.<\/p>\n<h2 id=\"connect-to-an-ftp-server-with-a-third-party-client\">Connect to an FTP server with a third-party client<\/h2>\n<p>If you open another program to connect to your FTP server, you are using a third-party FTP client. To connect to your FTP server with a third-party client, follow these steps:<\/p>\n<ol>\n<li>Create the FTP account in cPanel\u2019s\u00a0<em>FTP Accounts<\/em>\u00a0interface (<em>cPanel \u00bb Home \u00bb Files \u00bb FTP Accounts<\/em>).<\/li>\n<li>Click\u00a0<em>Configure FTP Client<\/em>\u00a0next to the FTP account you want to connect to your third-party client.<\/li>\n<li>If we provide a configuration file for your third-party client, like\u00a0<a href=\"https:\/\/trac.cyberduck.io\/wiki\/help\/\" target=\"_blank\" rel=\"noopener\">Cyberduck\u00ae<\/a>\u00a0or\u00a0<a href=\"https:\/\/winscp.net\/docs\/\" target=\"_blank\" rel=\"noopener\">WinSCP<\/a>, download it from the\u00a0<em>Configuration Files<\/em>\u00a0section and open it on your local machine to configure your third-party client. If we do not provide a configuration file, you must configure the client manually.<\/li>\n<\/ol>\n<p>Third-party clients have their own documentation for manual configuration, but will require the following information:<\/p>\n<ul>\n<li>Server Protocol: FTP (File Transfer Protocol).<\/li>\n<li>Server Name: Either your primary domain name or your site\u2019s IP address.<\/li>\n<li>User\/Username: Your account name.\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<p>The username formatting must\u00a0<strong>exactly<\/strong>\u00a0match the information in the\u00a0<em>FTP Accounts<\/em>\u00a0interface (<em>cPanel \u00bb Home \u00bb Files \u00bb FTP Accounts<\/em>) for the third-party client to work. For example, if\u00a0<code>example.com<\/code>\u00a0is your primary domain name, your username will be formatted\u00a0<code>account-name@example.com<\/code>. You can copy your formatted username from the\u00a0<em>Manual Settings<\/em>\u00a0section of the\u00a0<em>Configure FTP Client<\/em>\u00a0section.<\/p>\n<\/div>\n<\/div>\n<\/li>\n<li>Password: Your FTP password.\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>The FTP server\u2019s port number defaults to 21, but is not always required. You can verify your FTP server\u2019s port number in the\u00a0<em>Manual Settings<\/em>\u00a0section of the\u00a0<em>Configure FTP Client<\/em>\u00a0section in cPanel\u2019s\u00a0<em>FTP Accounts<\/em>\u00a0interface (<em>cPanel \u00bb Home \u00bb Files \u00bb FTP Accounts<\/em>).<\/p>\n<\/div>\n<\/div>\n<\/li>\n<\/ul>\n<h2 id=\"connect-to-an-ftp-server-from-the-command-line\">Connect to an FTP server from the command line<\/h2>\n<p>To connect to the FTP server from the CLI, follow these steps:<\/p>\n<ol>\n<li>Open a CLI window on your local machine.<\/li>\n<li>Enter the\u00a0<code>ftp<\/code>\u00a0command to open the File Transfer Protocol.<\/li>\n<li>Enter\u00a0<code>open<\/code>\u00a0to open a connection between your local machine and your FTP server. Your CLI window will look something like this:\n<div class=\"highlight\">\n<pre class=\" language-bash\" tabindex=\"0\"><code class=\" language-bash\" data-lang=\"bash\"><span class=\"token punctuation\">[<\/span>example@0.0.0.0 ~<span class=\"token punctuation\">]<\/span>: <span class=\"token function\">ftp<\/span>\nftp<span class=\"token operator\">&gt;<\/span> <span class=\"token function\">open<\/span>\n<span class=\"token punctuation\">(<\/span>to<span class=\"token punctuation\">)<\/span><\/code><\/pre>\n<\/div>\n<\/li>\n<li>In the\u00a0<code>(to)<\/code>\u00a0prompt, enter your server\u2019s IP address. Depending on which FTP daemon you are using, your CLI window will now look something like this:\n<div class=\"highlight\">\n<pre class=\" language-bash\" tabindex=\"0\"><code class=\" language-bash\" data-lang=\"bash\"><span class=\"token punctuation\">[<\/span>example@0.0.0.0 ~<span class=\"token punctuation\">]<\/span>: <span class=\"token function\">ftp<\/span>\nftp<span class=\"token operator\">&gt;<\/span> <span class=\"token function\">open<\/span>\n<span class=\"token punctuation\">(<\/span>to<span class=\"token punctuation\">)<\/span> 0.0.0.0\n220\u2014\u2014\u2014- Welcome to Pure-FTPd <span class=\"token punctuation\">[<\/span>privsep<span class=\"token punctuation\">]<\/span> <span class=\"token punctuation\">[<\/span>TLS<span class=\"token punctuation\">]<\/span> \u2014\u2014\u2014-\n220-You are user number 1 of 50 allowed.\n220-Local <span class=\"token function\">time<\/span> is now 15:34. Server port: 21.\n220-This is a private system - No anonymous login\n220-IPv6 connections are also welcome on this server.\n220 You will be disconnected after 15 minutes of inactivity.\nName <span class=\"token punctuation\">(<\/span>0.0.0.0:example<span class=\"token punctuation\">)<\/span>:<\/code><\/pre>\n<\/div>\n<\/li>\n<li>Enter your FTP account\u2019s username into the\u00a0<code>Name(0.0.0.0:example)<\/code>\u00a0prompt.<\/li>\n<li>Enter your FTP account\u2019s password into the\u00a0<code>Password:<\/code>\u00a0prompt.<\/li>\n<\/ol>\n<p>If you have entered the correct login information, the system will return a message similar to the following:<\/p>\n<div class=\"highlight\">\n<pre class=\" language-bash\" tabindex=\"0\"><code class=\" language-bash\" data-lang=\"bash\">230 OK. Current restricted directory is \/. <\/code><\/pre>\n<\/div>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<p>If you have entered the incorrect login information, the system will return a message similar to the following:<\/p>\n<div class=\"highlight\">\n<pre class=\" language-bash\" tabindex=\"0\"><code class=\" language-bash\" data-lang=\"bash\">530 Login authentication failed<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<h3 id=\"upload-a-file-to-an-ftp-server-from-the-command-line\">Upload a file to an FTP server from the command line<\/h3>\n<p>To upload a file to your FTP server using the CLI.<\/p>\n<ul>\n<li>If you are not in the file\u2019s desired\u00a0<strong>destination<\/strong>\u00a0folder, navigate there using the\u00a0<code>cd<\/code>\u00a0command. For example, to move a file to a server\u2019s\u00a0<code>public_html<\/code>\u00a0folder so that it is visible to the site users,\u00a0<code>cd<\/code>\u00a0to\u00a0<code>public_html<\/code>.<\/li>\n<li>Use the\u00a0<code>put<\/code>\u00a0command to transfer the file from its current path. For example, to move the\u00a0<code>finalized-doc.txt<\/code>\u00a0file from the local machine\u2019s\u00a0<code>unfinished-documents<\/code>\u00a0folder to your FTP server\u2019s\u00a0<code>public_html<\/code>\u00a0folder to make it visible to site users, enter:\n<div class=\"highlight\">\n<pre class=\" language-bash\" tabindex=\"0\"><code class=\" language-bash\" data-lang=\"bash\">ftp<span class=\"token operator\">&gt;<\/span> <span class=\"token function\">cd<\/span> public_html\nftp<span class=\"token operator\">&gt;<\/span> put localmachine:\\unfinished-documents\\finalized-doc.txt <\/code><\/pre>\n<\/div>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<p>Your site\u2019s root directory is set to the\u00a0<code>public_html<\/code>\u00a0folder. Uploading files into the\u00a0<code>\/<\/code>\u00a0directory will\u00a0<strong>not<\/strong>\u00a0let site users view these files. Instead, to make files visible to your site\u2019s users, you\u00a0<strong>must<\/strong>\u00a0<code>put<\/code>\u00a0these files into the\u00a0<code>public_html<\/code>\u00a0folder.<\/p>\n<\/div>\n<\/div>\n<\/li>\n<\/ul>\n<h3 id=\"download-a-file-from-an-ftp-server-from-the-command-line\">Download a file from an FTP server from the command line<\/h3>\n<p>To download a file to your FTP server using the CLI.<\/p>\n<ul>\n<li>If you are not in the file\u2019s current location on the FTP server, navigate there using the\u00a0<code>cd<\/code>\u00a0command. For example, files that are visible to site users will be stored in the\u00a0<code>public_html<\/code>\u00a0folder, so to download a file from there,\u00a0<code>cd<\/code>\u00a0to\u00a0<code>public_html<\/code>.<\/li>\n<li>Use the\u00a0<code>get<\/code>\u00a0command to transfer the file from its current path. For example, to download the\u00a0<code>document-with-a-mistake.txt<\/code>\u00a0file from the FTP server\u2019s\u00a0<code>finalized-documents<\/code>\u00a0subfolder in the\u00a0<code>public_html<\/code>\u00a0folder, enter:\n<div class=\"highlight\">\n<pre class=\" language-bash\" tabindex=\"0\"><code class=\" language-bash\" data-lang=\"bash\">ftp<span class=\"token operator\">&gt;<\/span> <span class=\"token function\">cd<\/span> public_html\/finalized-documents\nftp<span class=\"token operator\">&gt;<\/span> get document-with-a-mistake.txt <\/code><\/pre>\n<\/div>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<h6><\/h6>\n<section class=\"mt-5\">\n<h4><strong>More to know about us<\/strong>:<\/h4>\n<h4><strong>Pure Cloud Hosting:<\/strong><\/h4>\n<p>At the core of <a href=\"https:\/\/www.shricloud.com\/\">Shricloud&#8217;s<\/a> offerings lies its pure cloud hosting infrastructure, a cutting-edge solution designed to deliver unmatched performance, scalability, and reliability.<\/p>\n<p>Unlike traditional hosting services that rely on physical servers, Shricloud leverages cloud technology to provide a dynamic and flexible hosting environment.<\/p>\n<p>This ensures that websites hosted on Shricloud enjoy lightning-fast load times, seamless scalability to accommodate fluctuations in traffic, and robust redundancy to minimize downtime.<\/p>\n<p>With Shricloud&#8217;s pure cloud hosting, users can rest assured that their websites are supported by a resilient infrastructure that adapts to their evolving needs.<\/p>\n<h4><strong>Telugu Language Support:<\/strong><\/h4>\n<p>Recognizing the importance of linguistic diversity, Shricloud goes above and beyond to provide support for the Telugu language, catering to users who prefer to operate in their native tongue.<\/p>\n<p>Whether it&#8217;s website interfaces, customer support channels, or documentation, Shricloud ensures that Telugu-speaking users can access its services and resources with ease.<\/p>\n<p>By offering Telugu language support, Shricloud not only enhances accessibility but also fosters a sense of inclusivity and empowerment for users in Telugu-speaking regions.<\/p>\n<p>This commitment to linguistic diversity sets Shricloud apart as a provider that values cultural inclusivity and strives to accommodate the needs of its diverse clientele.<\/p>\n<\/section>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[10],"manual_kb_tag":[13,104],"class_list":["post-3367","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-migration","manual_kb_tag-shricloud","manual_kb_tag-how-to-upload-files-with-ftp"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/manual_kb\/3367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/comments?post=3367"}],"version-history":[{"count":6,"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/manual_kb\/3367\/revisions"}],"predecessor-version":[{"id":3985,"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/manual_kb\/3367\/revisions\/3985"}],"wp:attachment":[{"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/media?parent=3367"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/manualknowledgebasecat?post=3367"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/shricloud.com\/kb\/wp-json\/wp\/v2\/manual_kb_tag?post=3367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}