commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Song Jason" <>
Subject Re: filename from array of bytes
Date Sun, 06 Jul 2008 03:28:41 GMT
of course you cannot get filename or mime type from content.
you can set the name or any attributes to a header alike structure and send
before content.

On Sat, Jul 5, 2008 at 10:16 PM, Paulo Sergio <> wrote:

> Hi,
> i'm not sure if this question makes sense but currently i have a service
> that receives a file as an array of bytes, and i need a way to get the file
> name and mime type, is there any way to do this ? or these info is kept
> only
> on the filesystem and there is no way to get it from the content?
> thanks in advance
> paulo f.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message