Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 80033 invoked from network); 4 Sep 2006 09:50:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Sep 2006 09:50:44 -0000 Received: (qmail 83605 invoked by uid 500); 4 Sep 2006 09:50:39 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 83561 invoked by uid 500); 4 Sep 2006 09:50:39 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 83550 invoked by uid 99); 4 Sep 2006 09:50:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 02:50:38 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of monica.ruiu@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 02:50:38 -0700 Received: by ug-out-1314.google.com with SMTP id m2so1704367uge for ; Mon, 04 Sep 2006 02:50:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=nMWiycOtQyhCD8UXqEpEZais1SuXyH3nmT8f8vs7pRgSnP5oHb8GfJpSOQrbdoYNFkm73zgDnWTcMXAi27tqFpHqG3B9t5/xvBwNRGGgG6t3JUiJVUIZjOEumAD/NTYzGo8YiWaFELwYgo2ynANJq0Ui0/4pvwAKFcl6nar1eyU= Received: by 10.66.219.11 with SMTP id r11mr2798475ugg; Mon, 04 Sep 2006 02:50:16 -0700 (PDT) Received: by 10.66.241.4 with HTTP; Mon, 4 Sep 2006 02:50:16 -0700 (PDT) Message-ID: <1efa34330609040250m83b3017q903730d59da9849e@mail.gmail.com> Date: Mon, 4 Sep 2006 11:50:16 +0200 From: "Monica Ruiu" To: commons-user@jakarta.apache.org Subject: [vfs] newbie - extract zip files MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_39470_19582269.1157363416455" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_39470_19582269.1157363416455 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I need to extract the files contained in a zip after a web upload. I use Commons Fileupload to get the file and then I'd like to use VFS to navigate the zip. I used the VFS to navigate a zip on local filesystem and it is great. Using FileUpload I get an InputStream, how can I objtain a ZipFileObject from that InputStream ? The web application can't access local file system to store data in temporary files. Thanks in advance Monica ------=_Part_39470_19582269.1157363416455--