# UPLOADFILE

#### Syntax <a href="#syntax.15" id="syntax.15"></a>

**UPLOADFILE**()

#### Remarks <a href="#examples.1" id="examples.1"></a>

* When this function is called, the standard upload of the browser is used to upload the file from the local computer.
* The function returns a row area with two cells with the following content:
  * Cell 1 - the internal name under which the file is stored on the nedyx server
  * Cell 2 - the original file name of the uploaded file.
* If an error occurs, !ERROR is returned.

#### Examples <a href="#examples.1" id="examples.1"></a>

Clicking on the UPLOADFILE button opens the "Open file" dialog in the browser. After uploading the file, the returned row contains the internal name, under which the file is stored on the nedyx server, and the original name of the file:

<div align="left"><figure><img src="/files/GmnUEQyVIOEAmYolGyS2" alt=""><figcaption></figcaption></figure></div>


---

# 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.nedyx.com/nedyx/clearlines-functions/import-export-functions/uploadfile.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.
