# Limitações do tamanho de abertura de ficheiros

Por padrão, o KONNEKT limita o tamanho dos ficheiros que abre no SharePoint ou lê a partir do SharePoint:

* KONNEKT **não abrirá** ficheiros maiores do que 1 GB
* KONNEKT **abrirá** ficheiros em **somente leitura**, se forem maiores do que 500 MB

{% hint style="success" %}
Recomendamos que mantenha estes valores predefinidos.&#x20;
{% endhint %}

## Alterar os valores predefinidos do tamanho de abertura de ficheiros

Pode alterar os limites de "open file size" através de chaves do registo. Isto pode ser uma boa ideia se estiver a restringir o [tamanho da cache](/pt/configuration/system-settings/cache-setting.md).

{% hint style="info" %}
Tenha em atenção que isto se refere aos tamanhos de ficheiro que o KONNEKT está a abrir/ler **de** SharePoint Online.&#x20;

Trata-se **não** do tamanho dos ficheiros que está a escrever **para** SharePoint Online.
{% endhint %}

{% hint style="danger" %}
A nossa equipa de suporte oferecerá suporte limitado para ambientes com limites superiores aos valores predefinidos.
{% endhint %}

### **Limite de somente leitura**

**Nome do valor:** `OneDriveOpenFilesLargerThanReadOnly`\
**Local de armazenamento do valor:** `HKCU\SOFTWARE\GlueckKanja\Konnekt`\
**Tipo de valor:** `DWORD`\
**Unidade do valor:** `bytes`

Os ficheiros maiores do que este tamanho são abertos em modo de somente leitura nas contas OneDrive e O365.

**Predefinição: 512 \* 1024 \* 1024 bytes = 500 MB**

### **Limite para bloquear a abertura**

**Nome do valor:** `OneDriveDoNotOpenFilesLargerThan`\
**Local de armazenamento do valor:** `HKCU\SOFTWARE\GlueckKanja\Konnekt`\
**Tipo de valor:** `DWORD`\
**Unidade do valor:** `bytes`

Não abra ficheiros maiores do que este tamanho nas contas OneDrive e O365.

**Predefinição: 1024 \* 1024 \* 1024 bytes = 1 GB**


---

# 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://docs.konnekt.io/pt/configuration/system-settings/open-file-size-limitations.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.
