# S3 File Output

The S3 File Output step writes data as a text file to [Amazon Simple Storage Service (S3)](https://docs.aws.amazon.com/AmazonS3/latest/dev/Welcome.html), a cloud-based storage system.

**Note:** [Using the Text File Output step on the Spark engine](https://github.com/pentaho/documentation/blob/main/PDIA/9.3/PDI/Transformation%20steps/PDI%20transformation%20steps%20reference%20\(overview\)/Text%20File%20Output%20cp/Select%20an%20engine%20\(Text%20File%20Output\)/Using%20Text%20File%20Output%20on%20Spark%20engine%20cp=GUID-A690584E-301A-4294-8EA0-C1B693E6DD70=2=en=.md) is recommended for writing data to Amazon S3 when you are using Spark as your [Adaptive Execution Layer](/pdia-data-integration/9.3-data-integration/advanced-topics-pentaho-data-integration-overview/adaptive-execution-layer-cp-landing-page.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/pdi-transformation-steps-reference-overview/s3-file-output-cp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
