Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 86251 invoked from network); 6 Aug 2006 01:29:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Aug 2006 01:29:03 -0000 Received: (qmail 50909 invoked by uid 500); 6 Aug 2006 01:28:58 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 50860 invoked by uid 500); 6 Aug 2006 01:28:57 -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 50849 invoked by uid 99); 6 Aug 2006 01:28:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Aug 2006 18:28:57 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.48.226] (HELO web52703.mail.yahoo.com) (206.190.48.226) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 05 Aug 2006 18:28:45 -0700 Received: (qmail 19960 invoked by uid 60001); 6 Aug 2006 01:28:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jUeJ0sj9Yk8HYM3ZY54Yd1bd4/18+8+Glqs/wKglsuWscHHQ9PD/OIIgDHpTgskdAlGj2ywpn5dvwClINHbgfegXxnRd/X/ZbhZWFc1+hpGXAB9MXpEXGqDH1FzeKTCfSiu/mtZ/MbW/7Spq/VueOW/aoOlgWHj7Tz8+JMk1WfU= ; Message-ID: <20060806012817.19958.qmail@web52703.mail.yahoo.com> Received: from [65.131.139.57] by web52703.mail.yahoo.com via HTTP; Sat, 05 Aug 2006 18:28:17 PDT Date: Sat, 5 Aug 2006 18:28:17 -0700 (PDT) From: Anil Philip Subject: [commons-net] Remote JFileChooser using Commons.Net ftp? To: commons-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I want to display the files in a remote folder using ftp. (commons.net) >From all the googling I have done, it seems I must subclass FileSystemView and pass it to the JFileChooser. However, FileSystemView returns File from several of its methods. Must I again subclass File? This would be tedious and further, how can I create a File on the remote machine? (not possible in ftp, only directory) public File createFileObject(File dir, String filename) public File createFileObject(String path) protected File createFileSystemRoot(File f) If you know whether there is any existing code that solves the problem, it would help much! thanks, Anil Philip __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org