# Postman CLI: The specified file cannot be found

**URL:** <https://community.postman.com/t/postman-cli-the-specified-file-cannot-be-found/61612>\
**Category:** Help Hub\
**Tags:** form-data, file, uploads, postmancli\
**Created:** [May 29, 2024, 1:56pm UTC](https://community.postman.com/t/postman-cli-the-specified-file-cannot-be-found/61612 "2024-05-29T13:56:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![devang-ey](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@devang-ey](https://community.postman.com/u/devang-ey)\
**Post date:** [May 29, 2024, 1:56pm UTC](https://community.postman.com/t/postman-cli-the-specified-file-cannot-be-found/61612/1 "2024-05-29T13:56:49Z")

</div>

> I attempted to execute a file upload test using Postman CLI but encountered an error stating **The specified file cannot be found**.

> I followed the instructions from the Postman Answer documentation and tried to upload a file named text.txt from my local working directory **C:\Users\\<username\>\Postman\files**.

API: POST [http://postman-echo.com/post](http://postman-echo.com/post)

> The file upload process operates smoothly when initiated through the Postman desktop application; however, when executed via the Postman Command Line Interface, the file appears to be missing.

**screenshot from postman application**

 ![poatman app](https://us1.discourse-cdn.com/getpostman/original/3X/8/c/8cb65f2c1decc2d93113d4efbb52c2e0c77d6da0.png)

**screenshot from postman CLI**

 ![poatman CLI](https://us1.discourse-cdn.com/getpostman/original/3X/5/2/522ef7853a9cb66403604ebcaa8cfc52180e47bb.png)

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [May 29, 2024, 7:56pm UTC](https://community.postman.com/t/postman-cli-the-specified-file-cannot-be-found/61612/2 "2024-05-29T19:56:09Z")

</div>

Hi @devang-ey.

The Postman CLI can’t run requests that use files in your local [working directory](https://learning.postman.com/docs/getting-started/installation/settings/#working-directory) to send [body data](https://learning.postman.com/docs/sending-requests/create-requests/parameters/). If your collection has requests that use files, [upload your test data files](https://learning.postman.com/docs/sending-requests/create-requests/test-data/) to make them available to the Postman CLI.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [June 28, 2024, 7:56pm UTC](https://community.postman.com/t/postman-cli-the-specified-file-cannot-be-found/61612/3 "2024-06-28T19:56:58Z")

</div>

Closed on June 28, 2024, 7:56pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
