Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 10207 invoked from network); 8 Aug 2005 16:17:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Aug 2005 16:17:23 -0000 Received: (qmail 3811 invoked by uid 500); 8 Aug 2005 16:17:18 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 3764 invoked by uid 500); 8 Aug 2005 16:17:17 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 3751 invoked by uid 99); 8 Aug 2005 16:17:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2005 09:17:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of bnkuhn@gmail.com designates 64.233.184.192 as permitted sender) Received: from [64.233.184.192] (HELO wproxy.gmail.com) (64.233.184.192) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2005 09:17:39 -0700 Received: by wproxy.gmail.com with SMTP id i5so810884wra for ; Mon, 08 Aug 2005 09:17:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hAsMos9raD1q1FHqb9d1MotXs7DcZGsIlxK93PZA3x23CJ0SEP/RJFLRU/oz5B7orsArJ/Meox3wmj1O8URnQrLbXHVwUSoP/AEpX6VZLeF8pt5BN8b+AN7L42M0FVkZguG8MeqwY6DeIaGqbS2+qb7OgfjH45Q/14YmdXknTdI= Received: by 10.54.158.13 with SMTP id g13mr4995282wre; Mon, 08 Aug 2005 09:17:14 -0700 (PDT) Received: by 10.54.97.16 with HTTP; Mon, 8 Aug 2005 09:17:14 -0700 (PDT) Message-ID: <335a812d050808091717a708ed@mail.gmail.com> Date: Mon, 8 Aug 2005 09:17:14 -0700 From: Brian Kuhn To: Ant Users List Subject: Fwd: SCP...done...BUILD SUCCESSFUL....no local file created In-Reply-To: <335a812d05080417345f12942e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <335a812d05080417345f12942e@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Has anyone gotten the SCP task to work correctly? I need to copy a single file from a server to my local machine using SSH. Does anyone have a working example? Thanks, Brian ---------- Forwarded message ---------- From: Brian Kuhn Date: Aug 4, 2005 5:34 PM Subject: SCP...done...BUILD SUCCESSFUL....no local file created To: Ant Users List Hi all, I'm using the following snippet to SCP a file from a remote machine to my local machine. The output looks fine (although I can't get it to be more verbose, no matter what I try). However, I don't get a local copy of the file even though it says "done" and BUILD SUCCESSFUL. Any ideas. I saw a couple dead threads that related to this so I assume someone else has at least had the same problem. I'm using Ant 1.6.5 and Jsch 0.1.20. The local machine is Win2k and the remote is Solaris 9 I think. Thanks, Brian My Snippet: My Output: [scp] Connecting to accs3:22 [scp] Receiving file: /home/infr/050804_MASTER_DDL_AND_DATA.sql [scp] done BUILD SUCCESSFUL Total time: 5 seconds --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org