---
title: "Behandl filuploads"
description: "Filer kan g\u00F8res tilg\u00E6ngelige til brug i Invantive UniversalSQL ved hj\u00E6lp af f\u00F8lgende trin."
language: da
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/da/docs/invantive-data-access-point/process-file-uploads
original: https://documentation.invantive.eu/en/docs/invantive-data-access-point/process-file-uploads
updated: 2026-12-04T00:41:27Z
license: https://documentation.invantive.eu/da/
---

Filer kan gøres tilgængelige til brug i Invantive UniversalSQL ved hjælp af følgende trin:
- Brug én POST-parameter pr. fil.
- Definer i forudindstillingen en parameter af typen `ByteArray` med et navn, der er identisk med POST-parameteren.
- Parameteren kan bruges i Invantive UniversalSQL.

## Eksempler

### HTML-kode
```html
<body>
  <form action="/Preset?preset=some-preset" method="POST" enctype="multipart/form-data">
    <ul>
      <li>
        <label class="label">File</label>
        <input type="file" title="Choose file." name="upload_file">
      </li>
    </ul>
    <div class="buttonbar">
      <button class="requestButton download" type="submit">Download</button>
    </div>
  </form>
</body>
```

### Forudindstillet fil
```xml
<?xml version="1.0" encoding="utf-8" ?>
<PresetInfo>
  <Action>Results</Action>
  <Code>SOME-CODE</Code>
  <SqlFile>some-code.sql</SqlFile>
  <Format>Xlsx</Format>
  <ConnectionName>...\...</ConnectionName>
  <ParameterValues>
    <Parameter>
      <Name>upload_file</Name>
      <DotnetDataType>ByteArray</DotnetDataType>
    </Parameter>
  </ParameterValues>
</PresetInfo>
```

### SQL-kode
```sql
select *
from   exceltable
       ( table 'Sheet1'
         passing :upload_file
         columns some_column varchar2 position 1
       )
```


## Udgivelsesnoter

- [Invantive Data Access Point](/da/release-notes/products/invantive-data-access-point)
  - [26.0 til 27.0](/da/release-notes/products/invantive-data-access-point?step=26.0-to-27.0)
  - [25.0 til 26.0](/da/release-notes/products/invantive-data-access-point?step=25.0-to-26.0)
