Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 29450 invoked from network); 29 Mar 2006 06:32:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Mar 2006 06:32:11 -0000 Received: (qmail 66181 invoked by uid 500); 29 Mar 2006 06:32:06 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 66130 invoked by uid 500); 29 Mar 2006 06:32:06 -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 66119 invoked by uid 99); 29 Mar 2006 06:32:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 22:32:05 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mario@ops.co.at designates 194.152.182.4 as permitted sender) Received: from [194.152.182.4] (HELO smtp.ops.co.at) (194.152.182.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 22:32:05 -0800 Received: by smtp.ops.co.at (Postfix, from userid 65534) id 02E6823C0AF; Wed, 29 Mar 2006 08:31:42 +0200 (CEST) Received: from [172.27.1.102] (lints1.int.ops.co.at [172.27.1.102]) by smtp.ops.co.at (Postfix) with ESMTP id 36D7523C0A8 for ; Wed, 29 Mar 2006 08:31:39 +0200 (CEST) Message-ID: <442A29CA.5090008@ops.co.at> Date: Wed, 29 Mar 2006 08:31:38 +0200 From: Mario Ivankovits User-Agent: Thunderbird 1.5 (X11/20060111) MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: [vfs]sFTP Imaginary Directory Type (FOUND BUG) References: <034f01c6528f$d6141880$2629a8c0@ad.zedak.com> In-Reply-To: <034f01c6528f$d6141880$2629a8c0@ad.zedak.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on smtp.ops.co.at X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, hits=-74.0 required=6.0 tests=AWL,BAYES_00, LOCAL_SPAMSIGN_2,LOCAL_WHITE_RECV_TS1,RATWR10_MESSID,SARE_TOCC_USER, USER_IN_WHITELIST autolearn=ham version=2.64 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi! > So the connection is busted, but the library isn't letting anyone know what > happened. > The best will be to talk to the jsch developer. I am pretty sure he will fix it if its a bug. > Without changing VFS or JSch code, Whats your VFS change to fix this? As a quick-fix in SftpFileSystem in putChannel I check if the channel is still connected/alive. And retry the stat if an exception other than NO_SUCH_FILE occurs. > I'm a little confused on the reasoning behind the Imaginary File Type. It > seems to me that it is just a catch all for anything that can go wrong. No. The imaginary file type is used to state that a file is no existent. Only for jsch it looks like - due to the problem described in the todo - it is a catch all. Ciao, Mario --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org