259
Views
7
Comments
Solved
How find file size from binary data
Application Type
Reactive
Service Studio Version
11.54.8 (Build 62344)

Hi community,

I am using upload block and have the binary data with me, I want to find out the size of file from this binary data.

Please suggest a solution.

Thanks AWL!

Solution

Hi @Ashish Lonkar 

Instead of Binary Server Action you can use JavaScript with Some Validation On It

and i have implemented the same in attached OAP Please Check it out.


Thanks and regards

Radheshyam Jhare

BinaryFileSizeCheck.oap

This worked for me.

Thanks Radheshyam.



Thanks AWL!

Thanks Radhe !

Hi @Ana Agostinho ,

Actually when I try to use this server action of Binary Data API, I am getting a timeout error for bigger filesize.

Also, I am trying to evaluate file size from the binary data on client.

Do you know how to do this?

Thanks AWL!

Hi @Ashish Lonkar

You can use BinaryDataSize.



Regards
Krishnanand Pathak



Solution

Hi @Ashish Lonkar 

Instead of Binary Server Action you can use JavaScript with Some Validation On It

and i have implemented the same in attached OAP Please Check it out.


Thanks and regards

Radheshyam Jhare

BinaryFileSizeCheck.oap

This worked for me.

Thanks Radheshyam.



Thanks AWL!

Thanks Radhe !

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.