Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 52039 invoked from network); 28 Jul 2005 13:51:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jul 2005 13:51:14 -0000 Received: (qmail 38488 invoked by uid 500); 28 Jul 2005 13:51:04 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 38428 invoked by uid 500); 28 Jul 2005 13:51:03 -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 38415 invoked by uid 99); 28 Jul 2005 13:51:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2005 06:51:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [168.159.2.31] (HELO mailhub.lss.emc.com) (168.159.2.31) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2005 06:50:55 -0700 Received: from srexchimc2.eng.emc.com (srexchimg2.eng.emc.com [168.159.100.11] (may be forged)) by mailhub.lss.emc.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j6SDovFL009912 for ; Thu, 28 Jul 2005 09:50:58 -0400 (EDT) Received: by srexchimg2.eng.emc.com with Internet Mail Service (5.5.2653.19) id ; Thu, 28 Jul 2005 09:50:56 -0400 Message-ID: From: "blatt, lew" To: "'Jakarta Commons Users List'" Subject: RE: still trying to get ant, jakarta commons, ftp task, on z/OS to play (Upgrade to J1.4 does not solve problem) Date: Thu, 28 Jul 2005 09:50:55 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.0.3.2, Antispam-Data: 2005.7.28.12 X-PerlMx-Spam: Gauge=, SPAM=7%, Reasons='EMC_FROM_00+ 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __IMS_MSGID 0, __IMS_MUA 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N another help plea for zOS (IBM mainframe) platform. i am trying to get the ant ftp task, on zOS, to ftp. previous emails from helpful listserv members recommended i upgrade to ant 1.6.5, java 1.4. doing so i've "progressed" abit further. i now see a hang when trying to initiate ftp client (and no longer see garbage characeters spit out on screen). to isolate the problem (between ant and commons-net) i wrote the java app, below. this app stalls on zOS and eventually terminates with excpetion. on Windows the app connects successfully. furthermore, there is no problem using the IBM ftp client interactively. any clues appreciated. apologies (in advance) for the poor java. all i can say is, "i'm learning :)". import org.apache.commons.net.ftp.*; import java.io.IOException; import java.io.*; public class ftpit { public static void main(String a[]) { ftpit f=new ftpit(); } ftpit(){ FTPClient ftp=new FTPClient(); String server = new String("10.243.142.113"); try { ftp.connect(server) ; System.out.println("Connected to " + server + "."); System.out.print(ftp.getReplyString()); } catch(IOException ioe) {System.out.println("exception");} } } --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org