> For the complete documentation index, see [llms.txt](https://docs.higiocloud.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.higiocloud.vn/hi-gio-s3-storage/management-file-folder/get-the-link-download-of-files.md).

# Get the link Download of Files

## <mark style="color:green;">**Overview**</mark> <a href="#overview" id="overview"></a>

To download files from HI GIO S3, generate a pre-signed URL. This link provides temporary access, allowing users to download files securely without HI GIO S3 credentials.

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure" id="procedure"></a>

{% stepper %}
{% step %}
**Step 1:** Right-click on the File you need to get a link and choose “**Public Sharing.**”

<figure><img src="/files/LzfFmvNjcw7EF6FMYxe9" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 2:** In HI GIO S3, you can set the sharing mode of your objects to either **Private** or **Public**.

* **Private Mode**: All HI GIO S3 buckets and objects are private by default. Only the bucket owner has access, ensuring data security.
* **Get link download** option: This URL grants temporary access to the private file, enabling users to download it without needing HI GIO S3 credentials in 60 minutes.

<figure><img src="/files/y1HW2SAYYA5g3N6R4mtF" alt=""><figcaption></figcaption></figure>

* **Public Mode**: If you want to share objects publicly, you can configure the bucket or object permissions to allow public access. This enables anyone with the link to view or download the files. Using this mode cautiously is essential to prevent unauthorized access to sensitive data.

<figure><img src="/files/oQzYnyW5DohQfqqWGxNA" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.higiocloud.vn/hi-gio-s3-storage/management-file-folder/get-the-link-download-of-files.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
