Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 37241 invoked from network); 9 Jun 2008 13:33:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jun 2008 13:33:00 -0000 Received: (qmail 82709 invoked by uid 500); 9 Jun 2008 13:32:58 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 82660 invoked by uid 500); 9 Jun 2008 13:32:58 -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 82649 invoked by uid 99); 9 Jun 2008 13:32:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2008 06:32:58 -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 piersony@gmail.com designates 216.239.58.190 as permitted sender) Received: from [216.239.58.190] (HELO gv-out-0910.google.com) (216.239.58.190) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2008 13:32:09 +0000 Received: by gv-out-0910.google.com with SMTP id n40so578395gve.26 for ; Mon, 09 Jun 2008 06:32:26 -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=TM5XTUp5ZERk6sd3FB8apeQEKe0pQOp+7s2hmVNkbJg=; b=fu6hN53WXUKmAal2sysEv5Uy1xulBAPfrUtCj3AwOOYUseFlecIxIJgaxK97P2uhmj EFTvr1EtXeVXdtDt6ALcgvTWo4eMMryvyraImJiufwLnTQM4KdYUX2e0F1Ir6w0Sahvi Aor7xwqugNP/NpCfVhf+tzqrHzSMy8BIf9iyM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=UbLbIl0AZCG4fRWYEDrX90ls2dWoo1RoLy6w3WASApG72D5B1Vq8BhGHK/co4r07J7 0gVLeNcH1AJub0ge+8+1UjkFuP7h+M8AYUajpo/ijMNRdnH0Jm1tipE+DF+DihLNLGT5 GgZkSQklXTEJJjyjnGmlfG6BYdeIo26utpOJY= Received: by 10.78.197.9 with SMTP id u9mr1881623huf.56.1213018345347; Mon, 09 Jun 2008 06:32:25 -0700 (PDT) Received: by 10.78.161.11 with HTTP; Mon, 9 Jun 2008 06:32:25 -0700 (PDT) Message-ID: <60d6743e0806090632m77dd4a92m42d638a8a23aba8e@mail.gmail.com> Date: Mon, 9 Jun 2008 15:32:25 +0200 From: "Yannick PIERSON" To: "Commons Users List" Subject: [common VFS] zip_file InputStream MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1868_19798124.1213018345322" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_1868_19798124.1213018345322 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I get an another problem with vfs-common library. I'm not able to get an InputStream for zip files. This is my code: FileObject zipFile = vfsJFileChooser.getSelectedFile(); InputStream is = zipFile.getContent().getInputStream(); This is my error: Could not read file "smb://user:pwd@host.domain:port/MyZipFile.zip". But I'm able to check that this file exists with zipFile.exists() method. For others type of file I'm able to get the inputStream. Do you know what's wrong in my code? Thanks. Regards, Yannick ------=_Part_1868_19798124.1213018345322--