# Newman run with relative file paths in form-data for file upload

**URL:** <https://community.postman.com/t/newman-run-with-relative-file-paths-in-form-data-for-file-upload/16069>\
**Category:** Help Hub\
**Tags:** newman-project, collections, form-data, file\
**Created:** [September 21, 2020, 8:01am UTC](https://community.postman.com/t/newman-run-with-relative-file-paths-in-form-data-for-file-upload/16069 "2020-09-21T08:01:45Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![frille70](https://avatars.discourse-cdn.com/v4/letter/f/7cd45c/32.png) [@frille70](https://community.postman.com/u/frille70)\
**Post date:** [November 13, 2020, 2:45pm UTC](https://community.postman.com/t/newman-run-with-relative-file-paths-in-form-data-for-file-upload/16069/7 "2020-11-13T14:45:19Z")

</div>

@vdespa I have seen the replacement of path with an env variable in several places in forums. But I do not understand how to do that without the need of editing the exported json file manually and enter like {{pathVariable}} anyway every time you want to push your json to be used by for ex Jenkins. Because in Postman application, in the body of the POST request, you specify a file using a select file button, not with a path or env variable in written text. Or there is something I do not know about.

---

_[View the full topic](https://community.postman.com/t/newman-run-with-relative-file-paths-in-form-data-for-file-upload/16069)._
