Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 93140 invoked from network); 27 Apr 2008 13:10:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Apr 2008 13:10:05 -0000 Received: (qmail 40783 invoked by uid 500); 27 Apr 2008 13:10:03 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 40708 invoked by uid 500); 27 Apr 2008 13:10:03 -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 40695 invoked by uid 99); 27 Apr 2008 13:10:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Apr 2008 06:10:03 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [82.209.166.4] (HELO smtp.bredband2.net) (82.209.166.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Apr 2008 13:09:18 +0000 Received: (qmail 21019 invoked from network); 27 Apr 2008 13:15:48 -0000 Received: from me-57-111-233-83.3.cust.bredband2.com (HELO [192.168.0.3]) ([83.233.111.57]) (envelope-sender ) by smtp.bredband2.net (qmail-ldap-1.03) with SMTP for ; 27 Apr 2008 13:15:48 -0000 Message-ID: <48147B0C.40509@apache.org> Date: Sun, 27 Apr 2008 15:09:32 +0200 From: Dennis Lundberg User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Commons Users List Subject: Re: Problem when using ant task SCP References: <93D50BB083F456428524379E07DDFE73012A4552@mail-il.banshee.4g4g.com> <25aac9fc0804270519n9995969lf0e441b05cf2fe10@mail.gmail.com> <93D50BB083F456428524379E07DDFE73012A4555@mail-il.banshee.4g4g.com> <481472F2.1040504@apache.org> <93D50BB083F456428524379E07DDFE73012A4556@mail-il.banshee.4g4g.com> In-Reply-To: <93D50BB083F456428524379E07DDFE73012A4556@mail-il.banshee.4g4g.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org OK, but the task you are using is one of Ant's optional tasks. The documentation for that task is here: http://ant.apache.org/manual/OptionalTasks/scp.html Ant != Commons Daphna Deutsch wrote: > http://commons.apache.org/vfs/mail-lists.html > > > -----Original Message----- > From: Dennis Lundberg [mailto:dennisl@apache.org] > Sent: Sunday, April 27, 2008 3:35 PM > To: Commons Users List > Subject: Re: Problem when using ant task SCP > > Which site is that? > > Daphna Deutsch wrote: >> Hi, >> >> When I click on the "post" link in the site, it creates new e-mail >> address to user@commons.apache.org. >> >> Is there another way to post the question? >> >> -----Original Message----- >> From: sebb [mailto:sebbaz@gmail.com] >> Sent: Sunday, April 27, 2008 3:19 PM >> To: Commons Users List >> Subject: Re: Problem when using ant task SCP >> >> This is really an question for the Ant user mailing list. >> >> Try posting the question there. >> >> >> 2008/4/27 Daphna Deutsch : >>> Hello, >>> >>> I'm trying to use the ant task SCP to copy a file from sftp server. >>> >>> >>> >>> I manage to copy a local file to the SFTP server, with no errors. > But >>> when I'm trying to copy a file from the SFTP server to a local >>> directory, the file is being copied but I'm getting error message at >> the >>> end of the task. >>> >>> >>> >>> >>> >>> This is the task that I wrote: >>> >>> >>> >>> >>> >>> >> trust="yes" sftp="true" /> >>> >>> >>> >>> >>> >>> And I'm getting the following result: >>> >>> >>> >>> get_from_sftp: >>> >>> [scp] Connecting to IP_ADDRESS:22 >>> >>> [scp] Receiving file: /daphna/res1.xml >>> >>> [scp] Receiving: res1.xml : 127 >>> >>> [scp] File transfer time: 0.02 Average Rate: 8,466.67 B/s >>> >>> >>> >>> BUILD FAILED >>> >>> D:\projects\ANT\build.xml:41: com.jcraft.jsch.JSchException: 2: No >> such >>> file >>> >>> >>> >>> >>> >>> Thanks for your help, >>> >>> Daphna >>> >>> >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >> For additional commands, e-mail: user-help@commons.apache.org >> >> > > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org