Updated guide: This article has been refreshed for current hosting environments. Control-panel labels and available features can vary slightly by account, server configuration, or software version, but the workflow below follows the current approach used on modern hosting platforms. This guide is written to help you complete How to Create or Delete a Directory Using FileZilla safely and understand what to check if the expected result does not appear.
Before you begin
- Confirm the FTP account username, password and home directory.
- Use the exact hostname and secure connection method supplied by the host.
- Confirm the remote directory is the document root for the domain you intend to update.
- Keep a local copy of important website files before bulk changes.
Choosing FTP, FTPS or SFTP
FTP is a file-transfer protocol; FTPS adds TLS encryption to FTP, while SFTP is a different protocol that operates over SSH. They are not interchangeable. If your hosting provider offers FTPS or SFTP, prefer the encrypted option. The hostname, port and authentication method depend on the service enabled on the server.
FTP troubleshooting
- Connection refused: Confirm the hostname, port and FTP/FTPS mode supplied by the hosting provider.
- Authentication fails: Reset the FTP account password and confirm the username belongs to the correct hosting account.
- Files upload but do not appear: Check the remote directory and confirm you uploaded to the document root for the intended domain.
- Transfer is insecure: Prefer encrypted FTP/FTPS or SFTP where the hosting environment supports it. Never send account passwords over plain, unencrypted connections.
When to contact support
Contact support when the required feature is unavailable, a server-level service is failing, an account is locked, a restore requires privileges you do not have, or you have verified the settings but the service still does not work. When contacting support, include the domain name, the exact error message, what you changed, when the issue started, and screenshots or log output where appropriate. Do not send passwords or other authentication secrets.
Original illustrated procedure
You can create or remove a directory on your website using the FileZilla FTP Client.
1. Open the FileZilla FTP Client.
2. Enter your FTP host, username, and password. You can use your cPanel username and password as your FTP user and password. Then click on Quick Connect.
- Enter your domain name in the Host field, such as ftp.example.com or example.com.
3. Now, should you wish to create a directory inside the public_html folder, open it by clicking twice on the public_html directory or any other directory where you want to create a new folder.
4. Right-click on the empty space within the filename box and click on Create Directory in the context menu.
5. Enter the directory name, such as images or any other directory name you want to create.
6. Your newly-created directory will appear. Double-click on it to enter your newly-created directory.
How to Delete or Remove a directory?
1. Right-click on any directory you wish to delete.
2. Choose the Delete option in the context menu and then confirm with Yes.
You can use this method to remove any directory or file.