ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: remote ftp copy ....how to do ?
Date Sat, 25 Sep 2004 10:10:55 GMT
I'd recommend using rsync or scp instead of ftp.

	Erik


On Sep 24, 2004, at 11:26 AM, Shailesh Sharma wrote:

>
>
> Hi,
>
> I have a situation where i have 2 UNIX boxes. And i need to ftp a 
> directory called "myfolder" (that in itself contains some directories 
> and xml files) from BOX A to BOX B.
>
>
>
> does anybody know how to copy a "directory" from BOX A to BOX B. I 
> know how to FTP the "files" but i do not know how to FTP a directory 
> ???
>
>
>
>
>
> <ftp server="ftp.apache.org"
>
> port="2121"
>
> remotedir="/pub/incoming"
>
> userid="coder"
>
> password="java1"
>
> depends="yes"
>
> binary="no"
>
>>
>
> <fileset dir="htdocs/manual">
>
> <include name="**/*.html"/>
>
> </fileset>
>
> </ftp>
>
>
> 		
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!


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


Mime
View raw message