In this article, we will be explaining how to edit files using FileZilla.
Step 1: Download and Install FileZilla.
You can download FileZilla from this link: Click Here. I suggest you use the .exe if you are installing on Windows.
Step 2: Download a Complex Text Editor. (e.g. Notepad++, Brackets.io, or Visual Studio just to name a few.)
For this tutorial we will be using Notepad++, which can be downloaded from this link: Click Here. (If you are using OSX, Download Sublime Text from here instead: Click Here.)
Step 3: Get FTP Login Information.
Login to your cPanel, and find the Files Category. Then select the FTP Accounts item. Create a login, making sure to note all the information for later. Do NOT click create. Set the directory to just "/" so you can access the root files.
Step 4: Open FileZilla and Enter FTP Info.
Host will be "ftp.<your-domain>.com" and username should be <account>@<domain>.com. The port will be 21. Click "Quickconnect" and select the box "Always trust certificate in future sessions." and then select OK.
Step 5: Select Your Download Location in the Left File Explorer.
This is where your files downloaded from the server are saved, this is important to know where it is as you will need to be able to access it in the future. For now, let's create a folder on the desktop called "Website". Once you created it, go to FileZilla and go to your desktop. This can be achieved by clicking on the Folder Labelled ".." until you are at the C:\ drive. Go to Users\<username>\Desktop\Website.
Step 6: Download your File you want to Edit.
Most files for your site are stored in "public_html" in your right file explorer. Select the file you wish to download and double click on it.
Step 7: Navigate to the Folder on Your Desktop.
Once in there, right-click on the file and select open with. Find your Notepad++.
Step 8: Edit and Save.
Edit your document and click save, once done navigate to FileZilla. Drag the file from the left File Explorer to the Right side (making sure that it is in the same folder to overwrite it) and click "Overwrite" and OK.