Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE6959275 for ; Thu, 8 Mar 2012 13:04:27 +0000 (UTC) Received: (qmail 28093 invoked by uid 500); 8 Mar 2012 13:04:25 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 27876 invoked by uid 500); 8 Mar 2012 13:04:25 -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 27868 invoked by uid 99); 8 Mar 2012 13:04:24 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 13:04:24 +0000 Received: from localhost (HELO fc16x86v0.jboss.hr) (127.0.0.1) (smtp-auth username mturk, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 13:04:24 +0000 Message-ID: <4F58AE52.1010204@apache.org> Date: Thu, 08 Mar 2012 14:04:18 +0100 From: Mladen Turk User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: user@commons.apache.org Subject: Re: [daemon] ftp access code as service References: <4F589721.7090900@gmail.com> In-Reply-To: <4F589721.7090900@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 03/08/2012 12:25 PM, Ahsan Ikram wrote: > Hi, > > I am trying to run a piece of java code that uses apache commons net library to connect to a folder and download some files as a service. Since you are speaking about 'folder' I presume this is on windows, right? > The service is installed ok and runs but hangs at the part where it has to connect to a ftp server, no error, no > timeouts, just goes silent. > Check your firewall. Services do not have GUI so the firewall can't ask you about consent. Regards -- ^TM --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org