All Products
Search
Document Center

Serverless App Engine:Use the webshell feature to upload and download files

Last Updated:Apr 24, 2025

SAE provides the built-in lightweight webshell feature in the console to allow you to view and debug containers. You can perform routine checks or upload logs to examine the health status of SAE applications. To upload logs, you can use Object Storage Service (OSS) or the webshell feature of SAE. This topic describes how to upload or download log files by using the webshell feature.

Background

You cannot use SAE earlier than this version to download log files of containers. In this case, you can use the command-line tool ossutil of OSS to upload and download log files for SAE of earlier versions because OSS is compatible with all network environments of Alibaba Cloud. For more information, see Perform routine checks on applications.

The webshell feature provides upload and download capabilities. Compared with the OSS service, the webshell feature of SAE helps simplify your operations and improve O&M efficiency.

Limits

  • The upload and download capabilities of the webshell feature are applicable only to temporary debugging.

  • The size of the file that you want to upload or download cannot exceed 10 MB.

If you want to persistently store a file or the size of a file exceeds 10 MB, we recommend that you use Apsara File Storage NAS (NAS) or OSS. For more information, see Configure NAS storage and Configure OSS storage.

Procedure

  1. Log on to the SAE console. In the left-side navigation pane, choose Applications > Applications. On the page that appears, select a region in the top navigation bar and a namespace from the Namespace drop-down list, and then click the desired application name.

  2. On the Basic Information page, click the Instances tab.

  3. In the Instances tab, expand the Default Group section. Click Webshell in the Actions column of the desired instance.

  4. In the upper right corner of the webshell window that appears, move the pointer over the bt_download_and_upload_via_webshell icon. In the pop-up list, select Upload or Download as needed.

    • Upload File

      1. In the Upload File dialog box, select the file that you want to upload and configure the Destination Path parameter.

      2. Click Upload.

    • Download File

      1. In the Download File dialog box, configure the Destination Path parameter.

      2. Click Download.