Upload website programs to a Web Hosting instance

Last Updated: Sep 29, 2017

To upload website programs to a Web Hosting instance, you must first compress, upload, and then decompress all files.

Before you upload website programs to a Web Hosting instance, note the following:

  • A package with a password cannot be decompressed. Therefore, do not upload a compressed file with a password.

  • No package can contain files or folders named with Chinese characters. Otherwise, the compressed file may not be properly decompressed.

  • Only .zip and .tar files can be decompressed.

  • Page time-out may occur when large files are compressed. We recommend that you compress files in batches. If the page times out, do not repeatedly compress the files. Instead, log on to FTP to check what folders and files have been compressed.

  • All files must be stored in the htdocs directory.


  1. Compress all the files to be uploaded.

    Go to the local source code folder, select the required files and folders, then right click and select Add to the Compressed File from the shortcut menu.

    We recommend that you compress the files to a .zip package.compress files

    Note: We recommend that all the selected files be compressed directly, instead of compressing the upper-level folder. In this way, when you decompress the package, you get the source files but not the upper-level folder, which helps minimizes time required to move the files to the root directory from the sub-directory using FTP.

  2. After compression, upload the package to the Web Hosting instance using FTP.

    Alternatively, you can use FileZilla to upload the package. For this method, see FileZilla user manual.

  3. Decompress the package. The procedure is as follows:

    1. Log on to the Web Hosting console.

    2. On the Host list page, find the Web Hosting instance and click Manage in the Operation column.


    3. In the left-side navigation pane, click File Management > File Extraction.

    4. Locate the package, select the htdocs directory as the directory to store the decompressed files, and then click OK.

Thank you! We've received your feedback.