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
ADD ARCHIVE: Adds an archive file as a resource.
ADD FILE: Adds a file as a resource.
ADD JAR: Adds a JAR file as a resource.
ADD PY: Adds Python code as a resource.
ADD TABLE: Adds a table as a resource.
DESC RESOURCE: Views resource information.
LIST RESOURCES: Views the information about resources.
ALIAS: Creates an alias for a resource.
DROP RESOURCE: Deletes a resource.