Skip to main content


This Script is part of the Common Scripts Pack.#

Encode a file as base64 and store it in a XSOAR list.

Script Data#

Script Typepython2
TagsUtility, list
Cortex XSOAR Version5.0.0

Used In#

This script is used in the following playbooks and scripts.

  • Get Mails By Folder Pathes
  • Get Mails By Folder Paths


Argument NameDescription
entryIdThe file entry ID.
listNameThe list name in which to store the file. The list must exist in Demisto.
zipFileWhether to zip the file before storing it in the list.


There are no outputs for this script.