> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-web/en/autify-university/foundation/creating-a-scenario/can-i-test-file-upload.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# File Upload

## Testing file uploads

Autify allows you to test file uploads. To do this, you must first select the file you want to upload. Simply select a file during recording, and a *Choose File* step will automatically be added to your test scenario.

## *Choose File* step

You can see which file will be uploaded by clicking the *Choose File* step in your scenario. You can select a different file by clicking the ***\[Update]*** button, and there are no file format restrictions. Files are stored on Autify Cloud.

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-42f1a9946613e0db5ee5c7660aedf1bb2c30c48b%2Fen-choose-file.png?alt=media)

### Notes

There are several caveats to the *Choose File* step.

#### Unsupported features

The following features do not support the *Choose File* step:

* Tests run on real iOS devices.
* Local replay. See [this article](https://help.autify.com/nocode-web/en/faq/faq-create-scenario/faq-recording/local-replay-stops-at-choose-file-step.md) for more information.
* Upload multiple files.
* Upload a folder.

#### Limitations <a href="#limitations" id="limitations"></a>

* Maximum filename length is 255 bytes (due to UTF-8 encoding, the number of bytes varies by character).
* Maximum file size is 50MB per file.
* Maximum file size is 80MB per scenario.

{% hint style="warning" %}
**Known issue**

Tests run in an external device farm environment may fail if the uploaded file is close to the maximum file size. If an internal error occurs at the *Choose File* step, try using a smaller file.
{% endhint %}

## Related Articles

* [Can I test file downloads?](https://help.autify.com/nocode-web/en/faq/faq-create-scenario/faq-file-assertion/can-i-test-file-downloads.md)
* [Can I test PDF content?](https://help.autify.com/nocode-web/en/faq/faq-create-scenario/faq-file-assertion/can-i-test-pdf-content.md)
* [I can't record file uploads/tests fail at file upload](https://help.autify.com/nocode-web/en/when-the-test-doesnt-work/test-issues/i-cannot-upload-files-properly.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.autify.com/nocode-web/en/autify-university/foundation/creating-a-scenario/can-i-test-file-upload.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
