Use FTP Client
Uploading Media Files in Bulk
WordPress doesn’t recognize media files in the Media Library that were uploaded from anywhere other than Media Library or via the Add Media button. This means that when you upload media files through the FTP client to your site’s Uploads folder then they won’t appear in the Media Library.
However, WordPress needs certain files and folders in specific locations to work properly. This means you cannot just upload a file anywhere. You need to know where to upload a file in your WordPress site.
For example, if you want to manually upload a plugin to your WordPress website. Then first you will need to download the plugin to your computer.
After that you will need to unzip the plugin file. Inside the zip file, you will find the plugin folder. WordPress looks for plugins in the /wp-content/plugins/folder.
You will first need to go to /wp-content/plugins/folder in the Remote site column. After that you can upload the plugin folder from your computer to your website.
Once you have uploaded the plugin, you need to visit the plugins page inside your WordPress admin area to activate the plugin.
Similarly, if you wanted to upload a premium theme to your website, you will first download and unzip the theme folder on your computer. After that, you can upload it to /wp-content/themes/folder on your website.
FTP is not just used to upload files from your computer to your WordPress website. It can also be used to download files from your website and edit them.
Simply right-click on the files or folders you want to download under the “Remote Site” column and click on the download button.
You can also use FTP to backup all WordPress files. Simply select all files and folders and download them to your computer.
However, keep in mind that this is just the backup of your WordPress files, and it doesn’t include your content (Database). If you want to backup content as well, then you can do so by creating a manual backup of your WordPress database.
Managing File Permissions in FileZilla
Another task that is commonly managed via FTP is changing file and directory permissions. To change file or directory permissions navigate to the directory or file you wish to manage, right-click to open the contextual menu, and select File permissions…from the bottom of the menu.
Adjust permissions using the checkboxes or by entering a numeric value in the appropriate field. Click Ok and new permissions will take effect.
Editing a Website File via FTP
One of the most common WordPress FTP tasks is to open and edit wp-config.php. To do this, first, locate the file. In a standard WordPress installation, you’ll find it in your website’s root directory.
Use the local site section of FileZilla to locate your computer’s desktop, and then drag the wp-config.php file from the web server to your desktop. This will copy the file to your desktop.
Before editing your file, create a second copy of it on your desktop with a slightly different name. Simply renaming the copied version x-wp-config.php will do. Now, open the properly – named version (wp-config.php) and edit to your heart’s content.
The last step in the process is to go back to FileZilla and drag the updated version of the file from your computer desktop back to the web server. When you do, FileZilla will ask you to verify that you want to overwrite the file on the server and provide several options. Select the Overwrite option and click OK.
Now, access your website to make sure that the intended change has taken effect. If something unpected occurs, use the backup copy of wp-config.php on your desktop to restore your site’s original wp-config.php on your desktop to restore your site’s original wp-config.php file.
We hope this article helped you learn how to use FTP.