ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Kajsa" <Kajsa.Ander...@thomson.com>
Subject RE: Ftp - rename distant file ?
Date Tue, 13 May 2003 16:44:27 GMT
Jambet - 

In my experience with MVS & FTP, if you "cd .." before you "put" the file
you're uploading, you won't get the userid as a prefix.  That might be
simpler than trying to rename it afterwards (assuming I correctly understand
what you're trying to do).

HTH

Kajsa Anderson

-----Original Message-----
From: Guillaume Jambet [mailto:guillaume.jambet@fr.adp.com]
Sent: Tuesday, May 13, 2003 11:37 AM
To: Ant Users List
Subject: Ftp - rename distant file ?



Hi :)


i'm looking for a way to rename a distant file that i'have just uploaded
with the ant optional ftp task.

the netcomponent.jar seems to support the rename command but it isn't the
same thing for the optional task :(

(i'm uploading to an mvs ftp server, who gently add user's login as prefix
to my file...)

thx, Guillaume.



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
View raw message