# File Save Content

Saves the content of a file.

Action available for the following operating systems:

![](/files/-MAlQBZuuTnc6hyzKSVQ)

### Parameters

* **File Name** *\<string> -* The name of the saved file. The user should indicate the full path of the file.
* **Value** *\<unquoted string> -* The control or variable where the data that the user wants to save is stored.
* **Encoding** *\<unquoted string> -* Indicates the file encoding to use.
  1. Unicode UTF-16 LE (each character uses 2 bytes)
  2. ANSI/BINARY (each character uses 1 byte)
  3. Unicode UTF-8 (each character uses 1 byte to 4 bytes)
* **Coded** *\<unquoted string> -* Defines if the saved data is being coded or not. If user chooses YES to this parameter, values between '<' and '>' are considered to be the ASCII value and will be converted to the respective char, otherwise nothing happens.

{% hint style="info" %}
In Unicode UTF-16 LE, the BOM (Byte Order Mark) 0xFEFF will be added to the beginning of the file.
{% endhint %}

{% hint style="info" %}
In Unicode UTF-8, no BOM (Byte Order Mark) will be added.
{% endhint %}

{% hint style="warning" %}
If the file already exists, its contents are overwritten.
{% endhint %}


---

# 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://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-files/file-save-content.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.
