From user-return-21456-apmail-commons-user-archive=commons.apache.org@commons.apache.org Sun Jul 06 02:16:42 2008 Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 75308 invoked from network); 6 Jul 2008 02:16:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jul 2008 02:16:42 -0000 Received: (qmail 6826 invoked by uid 500); 6 Jul 2008 02:16:39 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 6745 invoked by uid 500); 6 Jul 2008 02:16:39 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 6734 invoked by uid 99); 6 Jul 2008 02:16:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2008 19:16:39 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pauloslf@gmail.com designates 74.125.46.155 as permitted sender) Received: from [74.125.46.155] (HELO yw-out-1718.google.com) (74.125.46.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jul 2008 02:15:47 +0000 Received: by yw-out-1718.google.com with SMTP id 9so799214ywk.60 for ; Sat, 05 Jul 2008 19:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=TPb4JXhwYn6Q6FWPVt3/Z7wc7ZYxq/ErxlpycMevdfM=; b=tJX3cDUkZJxoF35+ezzyN15LjBE6BDBoFztW7OTu/8RbMPxaO6mR6nghgMT2RHrWwU sfd5tvjW3N/HT+f4lmR02gqRc9jeS+WYFuNhnLl2iObbATbUupuGADHs7/U1Gu5wocS5 1lZUNS1qOFQ0BdEOQP9EwNasRiYvWengk4ihk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=OFwHf8gek/7GUylAXhpamU7yWoqBvy61bueHwPszzEh27W8mG4sVoZ6Klqn3no2/zm +rZYBi09zrRYuczI6YHeNMykaHmxlf3Q3PWyAlpO/g74OpElUcaLZR6FzR8jwohp2IrM kKMFwaoEDNDDiyYCUMYqIwDNV9ZDPP/3GVg1o= Received: by 10.150.151.20 with SMTP id y20mr5156660ybd.78.1215310568567; Sat, 05 Jul 2008 19:16:08 -0700 (PDT) Received: by 10.150.137.19 with HTTP; Sat, 5 Jul 2008 19:16:08 -0700 (PDT) Message-ID: Date: Sun, 6 Jul 2008 03:16:08 +0100 From: "Paulo Sergio" To: user@commons.apache.org Subject: filename from array of bytes MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17606_8561622.1215310568555" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_17606_8561622.1215310568555 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. ------=_Part_17606_8561622.1215310568555--