> 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="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FQtjxNZrkNplAOaIWiXGr%2Fimage.png?alt=media&amp;token=4d36e633-ee28-4da5-8fef-db2bc92efd1c" 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="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FVyFdgw5lr5t53zrIHgsm%2Fimage.png?alt=media&amp;token=1f0641aa-6efe-4e04-a7c0-c5971272d65c" 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="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FAiasryJT3lblbt8aJBiA%2Fimage.png?alt=media&amp;token=5d8fc31b-1c1f-4fbe-ae33-e0a3d8db322f" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
