If you need to deploy a new website on a Web Hosting instance, or upload, download, update, or back up website application files for an existing website, you can use FileZilla to efficiently manage your files. This topic describes how to manage your website application files with FileZilla.
-
FileZilla is a convenient and efficient FTP client. Use an FTP client to upload website applications or web pages to a web server over File Transfer Protocol (FTP). For more information, see FTP client usage instructions.
-
If you encounter permission errors or connection issues while managing your website files with FileZilla, see Common website management issues.
Step 1: Connect to your Web Hosting instance
Before you begin, make sure that you have an FTP client installed. We recommend that you use FileZilla. You can click FileZilla to download the tool.
- Obtain the FTP logon information for the Cloud Web Hosting instance.
- Log on to the Cloud Web Hosting management page.
- Find the Cloud Web Hosting instance to which you want to upload website programs and click Manage in the Actions column.
- In the navigation pane on the left, click Site Information.
- On the Site Information page, obtain the FTP logon information from the Account Information section.The FTP logon information includes the FTP Username, FTP Password, and FTP Logon Host Address.Note If you forget the FTP logon password, you can reset it. For more information, see Reset the password of the host management console and the FTP password.

-
Start FileZilla.
(Optional) If FileZilla is not in English, you can change the language when you first start it.
-
In the top menu bar, select .
-
In the navigation pane on the left, select Language.
-
In the Select language area, select Chinese(Simplified)(zh_CN).
-
Click OK.
-
Close and restart FileZilla.
-
- In the menu bar, choose .
-
In the Site Manager dialog box, click New site.
You can also configure settings on the Advanced, Transfer Settings, and Charset tabs. After you complete the configuration, click Connect to connect to the Web Hosting instance.
-
Under the My Sites node, enter a name for the new site.
-
On the General tab, configure the FTP settings for the new site.
The following table describes the parameters.
Parameter
Description
Protocol
Keep the default option, FTP - File Transfer Protocol.
Host
Enter the FTP host address.
Port
Set the value to 21.
Encryption
Select an encryption method based on your requirements.
login type
Select Normal.
User
Enter the FTP username.
Password
Enter the FTP password.
-
Click Connect to connect to your Web Hosting instance.
Site directories vary based on the Web Hosting product. The actual directories on your instance may differ from what is described in this topic.
The FileZilla interface is divided into the following areas:
The following table describes each area.
Number
Description
①
Message log: Displays commands, FTP connection status, and task execution results.
②
Local site: Displays the files and directories on your local computer.
③
Remote site: Displays the files and directories on the web server. Double-click a directory to enter it.
④
Transfer queue: Displays the status of queued and completed file transfers.
-
Step 2: Manage website files
After you connect to your Web Hosting instance with FileZilla, you can upload, download, move, create, or delete website application files, and modify their permissions.
Upload or download website files
Usage notes
Before you upload or download files for a Web Hosting instance, note the following for different operating systems:
Video tutorial
This video demonstrates how to upload website application files to a Web Hosting instance that runs the Linux operating system. The user interface in the video may differ from the actual interface.
Procedure
The procedure for uploading files is similar to downloading them. This section uses uploading as an example. To download a file, select it in the Remote site pane and then double-click it or drag it to the Local site pane.
-
Upload small files
-
In the Local site pane, select the web pages or files that you want to upload.
-
Double-click a file or drag it to the website's root directory in the Remote site pane to upload it.
-
For Web Hosting instances that run the Linux operating system, the website root directory is
/htdocs. After the upload is complete, you can view the uploaded files in the Remote site pane.After the upload, the files and folders appear in the /htdocs directory. The transfer queue at the bottom of the window shows that the transfer is complete.
-
For Web Hosting instances that run the Windows operating system, the website root directory is
/. After the upload is complete, you can view the uploaded files in the Remote site pane.After the upload, the files appear in the / root directory. System directories such as HttpErrors are also visible.
-
-
-
Upload large files
Uploading many files at once with an FTP client can be slow or get interrupted. If your website application files are large, we recommend that you compress them into an archive before you upload them with FileZilla. This practice reduces the risk of transfer interruptions and increases transfer speed.
ImportantBefore you begin, prepare the following tools and files.
-
You must have a file compression tool installed. We recommend that you use 7-Zip. You can download it from the official 7-Zip website .
-
The website application files must be saved to your local computer.
-
On your local computer, select the website program files to compress, right-click, and select .
-
In the Add to Archive dialog box, configure parameters such as the archive format, size, and name.
-
Click OK.
-
Upload the compressed website application files to the website root directory on your Web Hosting instance.
-
For Web Hosting instances that run the Linux operating system, the website root directory is
/htdocs. -
For Web Hosting instances that run the Windows operating system, the website root directory is
/.
-
-
Move website files to a specific directory
If you need to reorganize your website or change file permissions, you can use FileZilla to move a website application file to a different directory.
-
In the Remote site pane, select the website application file that you want to move.
This example shows how to move the
test-movefile from the/myfolderdirectory to the/htdocsdirectory on a Web Hosting instance that runs the Linux operating system. -
Drag the file to the
/htdocsdirectory in the Remote site pane.The test-move file is now in the /htdocs directory.
Modify file permissions
For security, you might need to modify a file's permissions to prevent unauthorized access or modification.
-
In the Remote site pane of FileZilla, right-click the file and select File permissions....
The right-click menu includes options such as Download (D), Add Files to Queue (A), View/Edit (V), Create Directory (C), Delete (E), Rename (R), and File Permissions (F).... Click File Permissions (F)... to modify the permissions.
-
In the Change file attributes dialog box, enter the new permission value in the Numeric value text box.
For owner permissions, group permissions, and public permissions, you can set the read, write, and execute permissions. For example, the permission value
644means the owner can read and write, while the group and public can only read. -
Click OK.
The permission change takes effect immediately. You can confirm the new permissions in the Permissions column of the file list.
Create or delete website files
|
Scenario |
Procedure |
|
When you need to add new web pages, scripts, or other files to your website, you can create them with FileZilla. |
In a blank area of the Remote site pane, right-click and then select Create new file. |
|
If you find a file containing malicious code, delete it. You should then work with a developer to locate and fix the root cause, for example, by configuring a firewall or tightening permissions. |
In the Remote site pane, select the file that you want to delete, right-click it, and then click Delete. |
Related topics
-
If you want to compress or decompress your uploaded website application files, see Compress and decompress files.
-
On Web Hosting instances that run the Linux operating system, you can enable or disable the FTP feature. For more information, see Enable and disable the FTP feature.