Stirling PDF icon

Stirling PDF

Merged API: Stirling PDF - Processing API + Stirling PDF - Management API + Stirling PDF - System API

Actions260

File Storage → Download File

AI-generated

Summary

Download a file from the Stirling PDF File Storage by specifying its numeric File Id, optionally choosing whether to receive the file inline or as an attachment.

Inputs

  • File Id (required) — Numeric identifier of the file to download from the Stirling PDF File Storage.
  • Inline — Boolean flag indicating if the file should be returned inline (true) or as an attachment for download (false). Defaults to false.
  • Request Options — Advanced HTTP request settings including batching, SSL certificate validation bypass, proxy configuration, and request timeout in milliseconds.

Output shape

a binary file representing the downloaded file content from the Stirling PDF service.

The file data is returned as binary output. The operation requires a valid File Id. The Inline parameter controls the Content-Disposition header behavior in the HTTP request. Request Options can modify HTTP client behavior but do not affect the file content returned.

Examples

Example 1: Download a PDF file by File Id and receive it as an attachment for subsequent workflow processing.

Set 'File Id' to the target file number, leave 'Inline' false.

Links

Discussion