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:[EMAIL PROTECTED]]
Sent: August 24, 2001 5:32 PM
To: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
> Sent: Friday, August 24, 2001 2:06 PM
> To: [EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, August 24, 2001 2:58 PM
> Subject: Re: FTP Optional Task
>
>
> ----- Original Message -----
> From: "James Bullington" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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