All Products
Search
Document Center

MaxCompute:GET RESOURCE

Last Updated:Jan 16, 2025

Downloads resources in a MaxCompute project to your on-premises machine. The resource type must be FILE, JAR, ARCHIVE, or PY. The TABLE type is not supported.

Prerequisites

The MaxCompute client (odpscmd) has been installed. For more information, see MaxCompute client (odpscmd).

Syntax

GET RESOURCE <resource_name> <path>;

Parameters

  • resource_name: required. The name of the resource that you want to download.

  • path: required. The path where the resource is saved on your on-premises computer.

Examples

GET RESOURCE getaddr.jar D:\;

Related statements