# Exportable src value for file upload parameter in form-data

**URL:** <https://community.postman.com/t/exportable-src-value-for-file-upload-parameter-in-form-data/2975>\
**Category:** Help Hub\
**Tags:** variables, file\
**Created:** [October 11, 2018, 7:51am UTC](https://community.postman.com/t/exportable-src-value-for-file-upload-parameter-in-form-data/2975 "2018-10-11T07:51:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakub.danek](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jakub.danek](https://community.postman.com/u/jakub.danek)\
**Post date:** [October 11, 2018, 7:51am UTC](https://community.postman.com/t/exportable-src-value-for-file-upload-parameter-in-form-data/2975/1 "2018-10-11T07:51:56Z")

</div>

Hello,

there is one thing which would make our life much easier: Currently when you want to provide path to the file to be uploaded via parameters, you need to:

1. Export the collection
2. Manually edit the JSON to configure src parameter for the file type input
3. Run hapilly with newman

This is based on [this blogpost](http://blog.getpostman.com/2017/09/21/run-collections-with-file-uploads-using-newman/) and [apparently](https://community.postman.com/t/file-upload-using-postman-without-file-option/1438) the manual step is necessary at this point.

It would be really great if the src value for file input could be configured via Postman to a path or variable reference, so that the exported collections could be run by newman out of the box, without the need for manual edit.

---

<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:** [December 9, 2024, 2:34pm UTC](https://community.postman.com/t/exportable-src-value-for-file-upload-parameter-in-form-data/2975/2 "2024-12-09T14:34:46Z")

</div>

Closed on December 9, 2024, 2:34pm UTC

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