ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Lyon" <>
Subject RE: FTP Password
Date Mon, 22 Oct 2001 16:25:37 GMT

That was it. You, good sir, rock! You were correct in assuming that the
'^' is no problem, but I did indeed need to escape the '$' with another
'$'. Thanks again!

Matt (happily FTP-ing again!)

P.S.> The employee who left was disgruntled, not, erm, "dosgruntled" as
my previous post suggested.  : P
-----Original Message-----
From: Will Dyke []
Sent: Monday, October 22, 2001 12:11 PM
To: ''
Subject: RE: FTP Password

I'm not sure that the '^' would cause a problem, but
'$' almost certainly will. To escape $ in ant, 
use $$.

We use a properties file for ftp, which might prove
more suitable - here you just have to escape 
properties files special characters (e.g. '\' and ':')


> -----Original Message-----
> From: Matt Lyon []
> Sent: 22 October 2001 16:52
> To: Ant-User (E-mail)
> Subject: FTP Password
> Hi,
> Over the weekend we had a dosgruntled employee leave the company and
> therefore the password to our development box had to be 
> changed. I have
> some code in a "publish" target in my buildfile that handles 
> outputting
> (via ftp)  the results of a build to the development server, which we
> use as a de facto distribution site for packaging of build 
> modules. With
> the old password, it worked fine, but the new password contains a '$'
> character and a '^" character, and I keep receiving the error: "Could
> not login to FTP server". I have tried escaping the characters in the
> password using the standard HTML convention, as well as 
> entering them in
> Unicode, Decimal, and Hex format to no avail. Is anyone aware of how
> Ant's optional FTP task passes the password to the server? I know the
> password works, because I can open an ftp session to the box with the
> same User name and Password on my own system in an MS-DOS shell.
> Cheers,
> Matt

This e-mail, and any attachment, is confidential. If you have received
it in error, please delete it from your system, do not use or disclose
the information in any way, and notify me immediately. The contents of
this message may contain personal views which are not the views of the
BBC, unless specifically stated.

View raw message