# Save Files to Disk

## Save Files to Disk

Use this action in the **Action** dropdown or **Ellipsis** menu to save files in File Attributes in e.g. Attachments or Files to your hard drive.&#x20;

Select the items to save and then, optionally, select to save the files in their chapter structure. This means that chapters are converted to directories, and files in the chapter are saved in that directory.

When this option is not selected, the files are saved in a flat list.

The downloaded result file is a zip file containing all the selected documents.

{% hint style="info" %}
Note! If several files have the same name and are saved in the same directory, the file name is prepended with the parent Document Object ID.
{% endhint %}

## Save Files as PDF

This option is similar to Save File To Disk but here all files are converted to PDF (to the extent the Aligned Elements PDF converter can convert the file type).

{% hint style="info" %}
Note! Since the PDF conversion occurs on demand, this action may take a minute or two.
{% endhint %}

{% hint style="info" %}
Note! The quality of the resulting PDFs depends on the configured PDF converter's ability to convert the original file to PDF.
{% 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://docs.aligned.ch/aligned-elements-web-client-user-manual/work-with-documents/save-files-to-disk.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.
