# IRPCClientScript.DownloadScriptApplication

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md) > [Client scripts and UI extension applications](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/DownloadScriptApplication/

Badges: `Vault API / standard` `write` `session`

Not implemented: fails with "Not implemented.".

- **Service:** [Client scripts and UI extension applications](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/index.md) `MFiles.IRPCClientScript`
- **gRPC method:** `/MFiles.IRPCClientScript/DownloadScriptApplication`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/download-script-application`
- **Request:** [`DownloadScriptApplicationRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/DownloadScriptApplication/index.md#request)
- **Response:** [`DownloadScriptApplicationResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/DownloadScriptApplication/index.md#response)
- **Book and level:** Vault API, standard
- **Kind:** write
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- Download a package with
  [DownloadScriptApplicationFile_Begin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/DownloadScriptApplicationFile_Begin/index.md).

<a id="request"></a>

## Request: DownloadScriptApplicationRequest

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `script_application` | `string` | The client application ID to download. |
| `resource_path` | `string` | Optional resource path inside the script application archive. |

<a id="response"></a>

## Response: DownloadScriptApplicationResponse

No fields.

<a id="related"></a>

## Related methods

- [DownloadScriptApplicationFile_Begin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/DownloadScriptApplicationFile_Begin/index.md): Starts downloading the package (ZIP file) of an application and returns its first block.
- [DownloadScriptApplicationFile_ReadBlock](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/DownloadScriptApplicationFile_ReadBlock/index.md): Reads the next block of an application download.
