Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 33389 invoked from network); 2 Aug 2005 06:21:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2005 06:21:27 -0000 Received: (qmail 88963 invoked by uid 500); 2 Aug 2005 06:21:24 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 88053 invoked by uid 500); 2 Aug 2005 06:21:21 -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 88039 invoked by uid 99); 2 Aug 2005 06:21:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2005 23:21:21 -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, 01 Aug 2005 23:21:11 -0700 Received: from relais3v5.velizy.fr.sterianet ([10.1.0.27]) by relais0.steria.fr (SMSSMTP 4.0.0.59) with SMTP id M2005080208211203116 for ; Tue, 02 Aug 2005 08:21:12 +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 <3L3Z08QH1NMWA70128@relais3v5.velizy.fr.sterianet> for user@ant.apache.org; Tue, 02 Aug 2005 08:25:39 +0200 Received: from steria.com ([10.4.20.56]) by mailvel.velizy.fr.sterianet (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <39SB08QK0GNOA702CK@mailvel.velizy.fr.sterianet> for user@ant.apache.org; Tue, 02 Aug 2005 08:21:05 +0200 Date: Tue, 02 Aug 2005 08:18:41 +0200 From: Nicolas Vervelle Subject: Re: scp problem: received directory without -r [SOLVED] In-reply-to: <200507291955.j6TJtxcH004265@barrierb241.nike.com> To: Ant Users List Message-id: <42EF1041.8060800@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: <200507291955.j6TJtxcH004265@barrierb241.nike.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Anderson, Rob (Global Trade) wrote: >The SSH Server version looks OK. Perhaps there is a directory in your fileset where previously there were only files. Using a zip file is probably the best solution. > With no answer from sourceforge support team (holidays ...), I used the zip solution. It's working fine now, thanks for the help. I still don't know why it's not working anymore with direct scp but I will now work with tar + gzip + scp :) Nicolas > >-Rob A > > > >>-----Original Message----- >>From: Nicolas Vervelle [mailto:nicolas.vervelle@steria.com] >>Sent: Friday, July 29, 2005 12:02 AM >>To: Ant Users List >>Subject: Re: scp problem: received directory without -r >> >> >>Hi, >> >>Anderson, Rob (Global Trade) wrote: >> >> >> >>>What version of SSH server is on the remote end ? I seem to >>> >>> >>remember this error from something, but I don't think I saw >>it using the scp Ant task. It looks like the fileset may be >>sending directories, and not just files. I would suggest >>creating a zip or tar.gz with the fileset first. Then scp to >>remote, and use sshexec to unpack the archive on the remote side. >> >> >>When I log onto sourceforge.net server, I tried getting the >>version with >>'ssh -V' >>Result: OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, Open SSL 0x00090701f >>Can it be the problem ? >> >>What's strange is that the task was working perfectly before >>(I used it >>for several months). >> >>One other think I have to check is when I updated Eclipse >>from 3.0.1 to >>3.0.2. >>I thought I was still using 3.0.1 but apparently I am with 3.0.2 now. >> >>I will try the zip idea if I don't get an other answer from >>sourceforge >>support :) >> >>Thanks for the answer. >> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org