Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 81646 invoked from network); 9 Aug 2005 06:05:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Aug 2005 06:05:40 -0000 Received: (qmail 3241 invoked by uid 500); 9 Aug 2005 06:05:35 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 3184 invoked by uid 500); 9 Aug 2005 06:05:34 -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 3171 invoked by uid 99); 9 Aug 2005 06:05:34 -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 23:05:34 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.51.219.132] (HELO relais0.steria.fr) (194.51.219.132) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 08 Aug 2005 23:05:57 -0700 Received: from relais3v5.velizy.fr.sterianet ([10.1.0.27]) by relais0.steria.fr (SMSSMTP 4.0.0.59) with SMTP id M2005080908052115065 for ; Tue, 09 Aug 2005 08:05:21 +0200 Received: from mailvel.velizy.fr.sterianet ([10.2.25.115]) by relais3v5.velizy.fr.sterianet (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id for user@ant.apache.org; Tue, 09 Aug 2005 08:09:58 +0200 Received: from steria.com ([10.2.40.240]) by mailvel.velizy.fr.sterianet (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id for user@ant.apache.org; Tue, 09 Aug 2005 08:05:15 +0200 Date: Tue, 09 Aug 2005 08:02:52 +0200 From: Nicolas Vervelle Subject: Re: Fwd: SCP...done...BUILD SUCCESSFUL....no local file created In-reply-to: <335a812d050808091717a708ed@mail.gmail.com> To: Ant Users List Message-id: <42F8470C.7030702@steria.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) References: <335a812d05080417345f12942e@mail.gmail.com> <335a812d050808091717a708ed@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, Brian Kuhn wrote: >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? > I am using SCP to update a website: I scp a .tgz file of the modifications and then extract it with sshexec. The scp task I use: You can see the full build file here : http://cvs.sourceforge.net/viewcvs.py/jmol/Jmol-web/build-deploy.xml?view=markup Hope this helps, Nicolas > >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: > todir="${basedir}" trust="true" verbose="true" failonerror="true" /> > > >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 > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org