Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Filename from Byte Array

We can extract the mimetype from byte array, e.g., by using Apache Tika.

Is it possible to get Filename from Byte Array.

like image 991
Tapas Bose Avatar asked Sep 13 '25 17:09

Tapas Bose


1 Answers

No. You can take a guess at a mimetype from the content data itself, but the filename is not in there.

like image 167
Thilo Avatar answered Sep 16 '25 08:09

Thilo