ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn McAllister <>
Subject Re: ftp and mapper
Date Thu, 16 Aug 2001 13:42:13 GMT
Cynthia He wrote:

> I have several properties that point to files in a deep
> directory structure.  I am trying to put all these files
> in a remote ftp server directory directly, without all the
> sub directory structure.  Since ftp task does not support
> mapper, what can I do to achieve this?  Is there something
> like unix's basename command?

The cheap solution is to copy the files into a local
temporary directory, flattening them there.  Then FTP the
files from the temp directory and finally blow away the temp
dir.  Its a hack, but it will always work.

Glenn McAllister
SOMA Networks, Inc.

View raw message