# File uploading: the file path became missing when I close the request tab

**URL:** <https://community.postman.com/t/file-uploading-the-file-path-became-missing-when-i-close-the-request-tab/2291>\
**Category:** Help Hub\
**Created:** [August 8, 2018, 1:26pm UTC](https://community.postman.com/t/file-uploading-the-file-path-became-missing-when-i-close-the-request-tab/2291 "2018-08-08T13:26:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Konstantin.V](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/konstantin.v/32/776_2.png) [@Konstantin.V](https://community.postman.com/u/Konstantin.V)\
**Post date:** [August 8, 2018, 1:26pm UTC](https://community.postman.com/t/file-uploading-the-file-path-became-missing-when-i-close-the-request-tab/2291/1 "2018-08-08T13:26:47Z")

</div>

I’m uploading files through PUT request and put my file as a `Binary` into the `Body` request:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/f/ef95bb9432f75911d36c7d87a279b864b27271bd.png)

The problem is that the file path became missing once I close the request tab and I try to run through `Runner`, so this makes it impossible to run it through `Runner`.

Here’s the screencast of what I mean: [Monosnap](http://take.ms/ptLCT)

Is there a way to save the file path inside the request body?

Thanks in advance for any suggestions!

---

<div class="post-metadata">

**Author:** ![singhsivcan](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/singhsivcan/32/1595_2.png) [@singhsivcan](https://community.postman.com/u/singhsivcan)\
**Post date:** [August 8, 2018, 3:19pm UTC](https://community.postman.com/t/file-uploading-the-file-path-became-missing-when-i-close-the-request-tab/2291/2 "2018-08-08T15:19:26Z")

</div>

@Konstantin.V File paths are not stored in the Postman Environment.  
Thus, you won’t be able to use the file in the collection runner nor save them.

This issue aims to solve the issue related to file paths being stored in the app:

> <https://github.com/postmanlabs/postman-app-support/issues/4320#issuecomment-401356842>
>
> \<!--
> Welcome to the Postman Issue tracker. Any feature requests / bug reports c…an be posted here.
> Any security-related bugs should be reported directly to security@getpostman.com
> \--\>
> 
> \## App Details:
> \<!--
> Copy paste this from Settings \> About
> \--\>
> \`\`\`
> Postman for Windows
> Version 6.0.9
> win32 6.1.7601 / x64
> \`\`\`
> 
> \## Issue Report:
> 1. Observed since v6
> 2. Expected behavior:
> On exporting a collection with form-data requests having files, src attribute should be populated with the file name.
> 3. Actual behavior: 
> \*\*src\*\* attribute is not present in exported collection.
> Example:
> "body": {
> "mode": "formdata",
> "formdata": \[
> {
> "key": "document",
> "description": "",
> "type": "file"
> }
> \]
> }
> 
> Steps to reproduce the problem:
> 1. Add a post request.
> 2. Select body type as form-data
> 3. Add FILE type item to body and select a file from filesystem
> 4. Save request
> 5. Export collection
> 
> \[Temp.postman\_collection.json.zip\](https://github.com/postmanlabs/postman-app-support/files/1801020/Temp.postman\_collection.json.zip)
> 
> \<!--
> Some guidelines: 
> 
> 1. Please file Newman-related issues at https://github.com/postmanlabs/newman/issues
> 
> 2. If it’s a Cloud-related issue, or you want to include personal information like your username / collection names, mail us at help@getpostman.com
> 
> 3. If it’s a question (anything along the lines of “How do I … in Postman”), the answer might lie in our documentation - http://getpostman.com/docs.
> \--\>

You can subscribe to the same for future updates.

---

<div class="post-metadata">

**Author:** ![Konstantin.V](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/konstantin.v/32/776_2.png) [@Konstantin.V](https://community.postman.com/u/Konstantin.V)\
**Post date:** [August 9, 2018, 11:30am UTC](https://community.postman.com/t/file-uploading-the-file-path-became-missing-when-i-close-the-request-tab/2291/3 "2018-08-09T11:30:41Z")

</div>

Thanks for your reply! Will track then: [https://github.com/postmanlabs/postman-app-support/issues/4320](https://github.com/postmanlabs/postman-app-support/issues/4320)
