Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 77890 invoked from network); 16 Nov 2005 06:11:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Nov 2005 06:11:53 -0000 Received: (qmail 15331 invoked by uid 500); 16 Nov 2005 06:11:46 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 15281 invoked by uid 500); 16 Nov 2005 06:11:45 -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 15270 invoked by uid 99); 16 Nov 2005 06:11:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2005 22:11:45 -0800 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of sarath.ambadas@gmail.com designates 64.233.162.202 as permitted sender) Received: from [64.233.162.202] (HELO zproxy.gmail.com) (64.233.162.202) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2005 22:13:19 -0800 Received: by zproxy.gmail.com with SMTP id s1so1744146nze for ; Tue, 15 Nov 2005 22:11:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=TppCC8AbS7bkp/9ikWORWJr9vPMs7P++ekhi639MGQxHQzUU1AZq9fiKhtkK1cxz9luqGS4HtR1cS9DHJX5RZ6MeWIVrbyx7dFrB6rtgxAS2relzbec6MrTkfkgpKLEdM/gJpnSQ3mlpA8etMqahfaqzMZ7q+qc/pzqOZq+YWys= Received: by 10.36.132.11 with SMTP id f11mr5846431nzd; Tue, 15 Nov 2005 22:11:24 -0800 (PST) Received: by 10.36.91.14 with HTTP; Tue, 15 Nov 2005 22:11:23 -0800 (PST) Message-ID: <1bb5b1ff0511152211n32ee8c8ck58f6931ed0ac5d1@mail.gmail.com> Date: Wed, 16 Nov 2005 11:41:23 +0530 From: Sarath Ambadas To: commons-user@jakarta.apache.org Subject: [NET] commons net FTP server to server file transfer problem MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18193_17332537.1132121483431" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_18193_17332537.1132121483431 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi I am trying to implement the Server to Server file transfer using Commons Net 140 API. I tried to execute the sample program(server2serverFTP.java) given in the source download but its getting hanged. One FTP Server is in my local machine and the other in a different machine. The files are available in both the machines. But I am getting file unavailable message.below are the details. Am I doing wrong in any point. Please help me. Also cant we do server to server file transfer with FTP servers running in two differnt machines other than the machine where client program is running. If anybody has a sample program which can be shared that would be of great help. Thanks in Advance. Sarath 220 Service ready for new user Connected to 9.182.14.76 . 220 Service ready for new user Connected to localhost. USER admin 331 User name okay, need password for admin PASS admin 230 User logged in, proceed USER admin 331 User name okay, need password for admin PASS admin 230 User logged in, proceed PASV 227 Entering Passive Mode (127,0,0,1,12,217) PORT 127,0,0,1,12,217 200 Command PORT okay RETR Create1.txt 150 File status okay; about to open data connection STOU Create2.txt 150 File status okay; about to open data connection 550 File Create1.txt unavailable ------=_Part_18193_17332537.1132121483431--