Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 27615 invoked from network); 30 Jul 2010 10:45:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Jul 2010 10:45:55 -0000 Received: (qmail 92417 invoked by uid 500); 30 Jul 2010 10:45:54 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 92018 invoked by uid 500); 30 Jul 2010 10:45:50 -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 92002 invoked by uid 99); 30 Jul 2010 10:45:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jul 2010 10:45:49 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of alajay123@gmail.com designates 209.85.212.171 as permitted sender) Received: from [209.85.212.171] (HELO mail-px0-f171.google.com) (209.85.212.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jul 2010 10:45:41 +0000 Received: by pxi10 with SMTP id 10so449937pxi.30 for ; Fri, 30 Jul 2010 03:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=idxxqD7+gP0wwvGnpIGb8qM3TK9g1RopDNHmPq4lOaQ=; b=UbS5VCLyC+E3S5+TJhZ+0uWNov91s+DMmBrl+eZ/+Zir4NO98QR1xURXuXqUEkfF3E KSpIauzZoUfyLKBo6UNO+Yb6Ve04KInxU1197VtUjDNbECIjJdifzU1nyYvXVKeHhj96 hIen67PWLEJzNACmMIaAl1BYer1NouVgm7vTU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=B7uaGxk48MF/oKZIif1hH02JefSNHUybI1pbwm4+uUV2qXAYATHwObrSIYEbfZE01D SzPH0z4DKEUVNmkVBgip7CXT0cvFJlcHWNlQLABNI5rOctapkqRc0llLP0cgdVKOSMJc xWJiwB8e87XtjYC6eum0mKJXiEbeCicOTTkrc= MIME-Version: 1.0 Received: by 10.143.17.21 with SMTP id u21mr1445648wfi.302.1280486719827; Fri, 30 Jul 2010 03:45:19 -0700 (PDT) Received: by 10.220.74.1 with HTTP; Fri, 30 Jul 2010 03:45:19 -0700 (PDT) Date: Fri, 30 Jul 2010 04:45:19 -0600 Message-ID: Subject: [VFS] Question on symbolic links From: jayakumar ala To: "user@commons.apache.org" Content-Type: multipart/alternative; boundary=001636ed7128132f64048c988cf3 X-Virus-Checked: Checked by ClamAV on apache.org --001636ed7128132f64048c988cf3 Content-Type: text/plain; charset=ISO-8859-1 Hi All, I am using Apache VFS for SFTP communication in my project. I have the following problem don't know how to handle this. please let me know if there is a way to this. Handling symlinks in case your links are to some other path. I did check that the file type for this is IMAGINARY but how can i get the actual path..? eg: my link is @xyzLink --> ../../xyz I am able to get the filename as @xyzLink but not the link part. I did see something in FtpFileObjct on link but that is a private method. Is there anything with SFTP..where i can get the path for the file type IMAGINARY ?? Any help is appreciated. Thanks Jay --001636ed7128132f64048c988cf3--