# Range Upload

This interface is used for range upload, supports breakpoint resuming, and does not support encrypted file.

**HTTP Interface:**

PUT   /resume/\<file\_name>

**Request Header:**

| key           | description    |
| ------------- | -------------- |
| Territory     | territory name |
| Content-Range | content range  |

*Identity signature required: yes*

**Request Body:**

The file is provided in the form.

| key  | value         |
| ---- | ------------- |
| file | file\[binary] |

**Request example:**

```shell
curl -X PUT URL/resume/<file_name> -F 'file=@test.log' -H "Territory: territory_name" -H "Account: cX..." -H "Message: ..." -H "Signature: 0x..." -H "Content-Range: bytes 0-201326591/445531360"
curl -X PUT URL/resume/<file_name> -F 'file=@test.log' -H "Territory: territory_name" -H "Account: cX..." -H "Message: ..." -H "Signature: 0x..." -H "Content-Range: bytes 201326592-402653183/445531360"
curl -X PUT URL/resume/<file_name> -F 'file=@test.log' -H "Territory: territory_name" -H "Account: cX..." -H "Message: ..." -H "Signature: 0x..." -H "Content-Range: bytes 402653184-445531359/445531360"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.cess.network/products/deoss/api_description/range_upload.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
