# getBytesTotal for file without Loading-4 podcast

**URL:** <https://forum.kirupa.com/t/getbytestotal-for-file-without-loading-4-podcast/218423>\
**Category:** flash\
**Created:** [March 7, 2007, 5:07pm UTC](https://forum.kirupa.com/t/getbytestotal-for-file-without-loading-4-podcast/218423 "2007-03-07T17:07:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mongushu](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@mongushu](https://forum.kirupa.com/u/mongushu)\
**Post date:** [March 7, 2007, 5:07pm UTC](https://forum.kirupa.com/t/getbytestotal-for-file-without-loading-4-podcast/218423/1 "2007-03-07T17:07:04Z")

</div>

Hello kirupa…

So i am building a dynamic podcast creator with flash (and mySQL, amfPHP) for a client who is not a tech person at all.

The podcast will update itself through the CMS we are building for him.

For an iTunes podcast however, i need to include the length of each podcast item in bytes.

Is there a way i can get the file size of the mp3 without fully loading it into a Sound object?

Anybody know? I dont think My client will be able to get and fill in the length in bytes for each entry, so i need a way to do this behind the scenes.

I would like to think that there is a way to do this other than storing the “bytes total” in the database when the client uploads the mp3 through the flash CMS.

ANy help would be hugely appreciated.
