ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: Optional scp task does not accept remote paths with the '@' symbol in them
Date Thu, 27 Sep 2007 17:40:50 GMT
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 '@' symbol in them
> 
> APOLOGIES FOR THE DOUBLE POSTING (OUTLOOK SCREWED UP THE ORIGINAL)
> 
> Tried running the following command using Ant 1.7:
> 
> <scp
> file="mqm@MQ-GATEWAY-INT.sis.tv:/var/mqm/qmgrs/LIGWGWAY1/@ipcc
> /AMQCLCHL.
> TAB" localTodir="client_conn_tables" password="blah" trust="yes"/>
> 
> And get the following:
> no remote path in
> mqm@MQ-GATEWAY-INT.sis.tv:/var/mqm/qmgrs/LIGWGWAY1/@ipcc/AMQCLCHL.TAB
> 
> This used to work in Ant 1.6.5!!
> 
> It looks like some over-zealous checks are being made on the 
> remote path
> which get confused by the second '@' symbol in the remote 
> path. It works
> fine for paths without this second symbol. Is there a fix for this out
> already? 
> 
> *************************************************************
> Satellite Information Services Limited Registered Office: 
> 17 Corsham Street London N1 6DR, Company No. 4243307
> 
> The information in this e-mail (which includes any files
> transmitted with it) is confidential and is intended for the
> addressee only. Unauthorised recipients are required to
> maintain confidentiality.  If you have received this e-mail
> in error please notify the sender immediately, destroy any
> copies and delete it from your computer system. 
> *************************************************************
> 
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message