# Download Documents from a Queue

You can download individual documents from a queue, or the first 100 documents from a queue, in either IDX or XML format.

TIP: To prevent the contents of the queue from changing, stop the processors before and after the queue.

To download documents from a queue

1. Open the NiFi user interface.

2. Right-click the queue and click List queue.

   A dialog box opens, listing the FlowFiles that are in the queue.

3. Click the view details icon for the document that you want to download. If you want to download the first 100 documents, click the icon next to any document.

   The FlowFile dialog box opens.

4. Click the Details tab.

5. Click View.

   A new window opens and displays the Flow File.

6. In the View as list, click formatted.

7. In the Format as list, choose a format:

   - To download the document(s) in IDX format, click IDX.
   - To download the document(s) in XML format, click XML.

8. Download the document(s):

   - To download the document you are viewing, click Download.
   - To download the first 100 documents, click Download Queue.

_FT_HTML5_bannerTitle.htm