ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roustem Karimov" <rou...@yahoo.com>
Subject RE: FTP Optional Task
Date Fri, 24 Aug 2001 21:07:02 GMT
I prepare complete directory structure on client first and then send ftp
it:

		<ftp server="${remote.host}" 
			userid="${remote.userid}" 
			password="${remote.password}"
			remotedir="${remote.deploy.home}">
			<fileset dir="${dir.tmp}">
				<include name="**/${dir.deploy}/**"/>
			</fileset>			
		</ftp>

This creates all subdirectories on the server.

-----Original Message-----
From: Ylan Segal [mailto:ylan@digiworks.tv] 
Sent: August 24, 2001 5:32 PM
To: ant-user@jakarta.apache.org
Subject: RE: FTP Optional Task


Has anyone experienced problems the ftp task with directory structures?
I find that if the structure is not made in the server, the ftp task
fails. I thought that it would work like a copy task.

> -----Original Message-----
> From: Mitchell Ackermann [mailto:mitchell.ackermann@epsiia.com]
> Sent: Friday, August 24, 2001 2:06 PM
> To: ant-user@jakarta.apache.org
> Subject: Re: FTP Optional Task
>
>
> When I first started experimenting with the <ftp> task, I thought the 
> documentation was pretty straight-forward. I got the netcomponents.jar

> before I tried the task, and
> my build task worked the first time I tried it.
>
> Mitchell Ackermann
>
> ----- Original Message -----
> From: Nico Seessle <nico@apache.org>
> To: <ant-user@jakarta.apache.org>
> Sent: Friday, August 24, 2001 2:58 PM
> Subject: Re: FTP Optional Task
>
>
> ----- Original Message -----
> From: "James Bullington" <shockride@yahoo.com>
> To: <ant-user@jakarta.apache.org>
> Sent: Friday, August 24, 2001 9:06 PM
> Subject: Re: FTP Optional Task
>
>
> > The documentation kinda-sucks on this one.  You need
> > to have the following in your class path... 
> > %ANT_HOME%\lib\optional.jar;%ANT_HOME%\lib\NetComponents.jar
>
> OK, can you please tell us what us the problem with the documentation?
>
> If you go to 
> http://jakarta.apache.org/ant/manual/OptionalTasks/ftp.html you are 
> seeing:
>
> "FTP
>
> Description
>
> Note: The ftp-task uses the NetComponents-Package which you will need 
> to download from http://www.savarese.org and add to your classpath."
>
> where "Note" is written in bold.
>
> Is it so hard to understand? How could it be written better?
>
> Thanks
>
> Nico
>
>
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Mime
View raw message