# Need to calculate the size of my file before posting it

**URL:** <https://community.postman.com/t/need-to-calculate-the-size-of-my-file-before-posting-it/64761>\
**Category:** Help Hub\
**Tags:** variables\
**Created:** [July 30, 2024, 2:33pm UTC](https://community.postman.com/t/need-to-calculate-the-size-of-my-file-before-posting-it/64761 "2024-07-30T14:33:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![imenlazzem](https://avatars.discourse-cdn.com/v4/letter/i/22d042/32.png) [@imenlazzem](https://community.postman.com/u/imenlazzem)\
**Post date:** [July 30, 2024, 2:33pm UTC](https://community.postman.com/t/need-to-calculate-the-size-of-my-file-before-posting-it/64761/1 "2024-07-30T14:33:48Z")

</div>

Hi,

I need to upload a file using postman and as a parameter, I need its size. How can I calculate it in postman ? is there any way to do it ?

Thanks

---

<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:** [July 30, 2024, 9:09pm UTC](https://community.postman.com/t/need-to-calculate-the-size-of-my-file-before-posting-it/64761/2 "2024-07-30T21:09:23Z")

</div>

Hi @imenlazzem. Welcome to the Postman Community :postman:.

There isn’t a way to programmatically do this in Postman. However, I will encourage you to submit this as a [feature request](https://github.com/postmanlabs/postman-app-support/issues/new/choose) and the team can evaluate the possibility.

---

<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:** [August 29, 2024, 9:09pm UTC](https://community.postman.com/t/need-to-calculate-the-size-of-my-file-before-posting-it/64761/3 "2024-08-29T21:09:44Z")

</div>

Closed on August 29, 2024, 9:09pm UTC

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