Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 84209 invoked from network); 2 Oct 2006 10:58:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Oct 2006 10:58:05 -0000 Received: (qmail 50060 invoked by uid 500); 2 Oct 2006 10:57:59 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 49987 invoked by uid 500); 2 Oct 2006 10:57:59 -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 49976 invoked by uid 99); 2 Oct 2006 10:57:59 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Oct 2006 03:57:59 -0700 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,NO_REAL_NAME Received: from [196.25.211.8] ([196.25.211.8:35470] helo=mail.wmcoza.telkomsa.net) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 1E/C5-16499-3B0F0254 for ; Mon, 02 Oct 2006 03:57:57 -0700 Received: (qmail 23933 invoked from network); 2 Oct 2006 10:57:51 -0000 Received: from unknown (HELO mail.webmail.co.za) ([192.168.16.165]) (envelope-sender ) by O (qmail-ldap-1.03) with SMTP for ; 2 Oct 2006 10:57:51 -0000 Received: from 196.4.165.214 (SquirrelMail authenticated user vangos@webmail.co.za) by mail.webmail.co.za with HTTP; Mon, 2 Oct 2006 12:57:51 +0200 (SAST) Message-ID: <4342.196.4.165.214.1159786671.squirrel@mail.webmail.co.za> In-Reply-To: <451D35B4.5020102@ops.co.at> References: <4602.196.4.165.207.1159538991.squirrel@mail.webmail.co.za> <451D35B4.5020102@ops.co.at> Date: Mon, 2 Oct 2006 12:57:51 +0200 (SAST) Subject: Re: [net] Using FTPClient [was: Re: commons-vfs - Using FTPClient] From: vangos@webmail.co.za To: "Jakarta Commons Users List" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Great! The firewall was indeed the problem, since it could not manage active sessions. Thanks alot. > Hi! >> This is what the output displays.... message 425 takes about 20 >> seconds to display... Can anyone help me with this? Thanks!!!! >> > >> //OUTPUT >> 230 Login successful. Have fun. >> >> 425 Failed to establish connection. >> >> 221 Goodbye. >> > > For me this is a problem with your (or the other side) firewall > configuration. > Sometimes a firewall do not support "active" ftp connections. > You can try to use f.enterLocalPassiveMode() (or so, sorry, I do not > remember the correct syntax yet). > This way commons-net will try to use passive ftp data connections which > might have more success bypassing a firewall. > > But ... this has nothing to do with commons-vfs, do you try to use > commons-net through commons-vfs (using a ftp filesystem)? > Then there is a FtpFileSystemConfigBuilder which allows you to > setPassiveMode(opts, true). > If you need more support with this, just ask again. > > Ciao, > Mario > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org > > ------------------------------------------- For super low premiums, click here http://www.webmail.co.za/dd.pwm --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org