file-type-batch
Detect file extension by content. Input record must include url field (file store url or http(s) url).
file-type-batch [insecure=VALUE]
- insecure=VALUE
- Optional. t to skip TLS certificate and hostname verification for an https url. Default is f.
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| file_size | Long | File size | Size in bytes |
| file_type | String | File type | pptx, docx, xlsx, pdf, png, jpeg, exe, zip or unknown |
| _error | String | Error message | Set instead of failing the query when a file cannot be read |