Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Asset Bytes
System
Using the Asset Server API, it appears the getFilesize() method returns the size of the asset in kilobytes. Is there any way to get the file size in bytes?
Find more posts tagged with
Comments
msrinivas
I am not sure if that is possible. But you can have a simple piece of conversion code in place to do that.
lyman
In MediaBin 4.6 we started supporting files > 2 GB. This meant that we could no longer count on the filesize fitting into a 32 bit integer. Therefore from that version onwards we started recording the filesize in kb instead of bytes as we do not currently support 64 bit integers. Afraid that we no longer store the filesize in bytes.
Cheers,
Lyman Hurd