FileCreateAndUpload Deprecated

Deprecated. Use FileCreateAndUploadV2 instead. Will create a file (using the given data input or entry ID) and upload it to current investigation war room.

javascript · Common Scripts

Details

IDFileCreateAndUpload
Languagejavascript
From Version5.0.0
TagsUtility

README

Creates a file using the given data input or entry ID, and uploads it to the current investigation’s War Room.

Script Data


Name Description
Script Type javascript
Tags Utility

Inputs


Argument Name Description
filename The name of the file to be created.
data The input data to write to file.
entryId The entry ID contents to write into file.

Outputs


There are no outputs for this script.

commonfields:
  id: FileCreateAndUpload
  version: -1
name: FileCreateAndUpload
script: ''
type: javascript
tags:
- Utility
comment: |
  Deprecated. Use FileCreateAndUploadV2 instead. Will create a file (using the given data input or entry ID) and upload it to current investigation war room.
enabled: true
args:
- name: filename
  default: true
  required: true
  description: The name of the file to be created.
- name: data
  description: Input data to write to file.
- name: entryId
  description: Entry ID contents to write into file.
scripttarget: 0
fromversion: 5.0.0
deprecated: true
tests:
- No tests (auto formatted)