Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 68644 invoked from network); 28 Sep 2007 12:20:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Sep 2007 12:20:23 -0000 Received: (qmail 13738 invoked by uid 500); 28 Sep 2007 12:20:09 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 13706 invoked by uid 500); 28 Sep 2007 12:20:09 -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 13695 invoked by uid 99); 28 Sep 2007 12:20:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 05:20:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [62.140.207.161] (HELO mail1.sis.tv) (62.140.207.161) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 12:20:10 +0000 Received: from Exchange3.ad.sis.tv (exchange3.ad.sis.tv) by mail1.sis.tv (Clearswift SMTPRS 5.2.9) with ESMTP id for ; Fri, 28 Sep 2007 13:19:48 +0100 Received: from exchange.ad.sis.tv ([10.100.1.73]) by Exchange3.ad.sis.tv with Microsoft SMTPSVC(6.0.3790.3959); Fri, 28 Sep 2007 13:19:48 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Optional scp task does not accept remote paths with the '@' symbol in them X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 28 Sep 2007 13:19:48 +0100 Message-ID: <6891AE1B70693D4DBA8AC8C99FB6C6ED064FF9@Exchange.ad.sis.tv> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Optional scp task does not accept remote paths with the '@' symbol in them Thread-Index: AcgA8rBRm4Gakxm4TOClMcVnbMLw0gAAEeTgAA49stAAJ1qjUA== References: <6891AE1B70693D4DBA8AC8C99FB6C6ED064FF6@Exchange.ad.sis.tv> <200709271741.l8RHf0qt009243@barrierL241.nike.com> From: "TSD Contractor2" To: "Ant Users List" X-OriginalArrivalTime: 28 Sep 2007 12:19:48.0597 (UTC) FILETIME=[DCE2E250:01C801C9] X-Virus-Checked: Checked by ClamAV on apache.org =20 Tell that to IBM!! (Who surely should no better!) I'm using the scp task to copy files from a remote IBM WebSphere MQ installation and have no control over the remote path! As I said, it worked previously (in Ant 1.6.5) so I'm concerned that a bug has been introduced into Ant 1.7 which needs resolving. Richard Lund -----Original Message----- From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com]=20 Sent: 27 September 2007 18:41 To: Ant Users List Subject: RE: Optional scp task does not accept remote paths with the '@' symbol in them Probably not the advice you are looking for, but I'll share it anyway... I strongly recommend against using any of the following characters in file names or pathnames. @$#%*!~()\|/?`,;:<> (perhaps others as well) Programming languages and shells often treat these characters differently than alpha-numeric characters. Programmers know this, and often write their programs without anticipating that these characters might be used in file names and path names. I recommend avoiding such characters in file and path names to save yourself from this, and other such headaches. -Rob Anderson > -----Original Message----- > From: TSD Contractor2 [mailto:TSDContractor2@sis.tv] > Sent: Thursday, September 27, 2007 3:43 AM > To: user@ant.apache.org > Subject: Optional scp task does not accept remote paths with the '@'=20 > symbol in them >=20 > APOLOGIES FOR THE DOUBLE POSTING (OUTLOOK SCREWED UP THE ORIGINAL) >=20 > Tried running the following command using Ant 1.7: >=20 > file=3D"mqm@MQ-GATEWAY-INT.sis.tv:/var/mqm/qmgrs/LIGWGWAY1/@ipcc > /AMQCLCHL. > TAB" localTodir=3D"client_conn_tables" password=3D"blah" = trust=3D"yes"/> >=20 > And get the following: > no remote path in > mqm@MQ-GATEWAY-INT.sis.tv:/var/mqm/qmgrs/LIGWGWAY1/@ipcc/AMQCLCHL.TAB >=20 > This used to work in Ant 1.6.5!! >=20 > It looks like some over-zealous checks are being made on the remote=20 > path which get confused by the second '@' symbol in the remote path.=20 > It works fine for paths without this second symbol. Is there a fix for > this out already? >=20 > ************************************************************* > Satellite Information Services Limited Registered Office:=20 > 17 Corsham Street London N1 6DR, Company No. 4243307 >=20 > The information in this e-mail (which includes any files transmitted=20 > with it) is confidential and is intended for the addressee only.=20 > Unauthorised recipients are required to maintain confidentiality. If=20 > you have received this e-mail in error please notify the sender=20 > immediately, destroy any copies and delete it from your computer=20 > system. > ************************************************************* >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional > commands, e-mail: user-help@ant.apache.org >=20 >=20 >=20 --------------------------------------------------------------------- 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