Can you run 

maven -X ftp-test

and post the results?

On Sun, 18 Jul 2004 17:02:02 +0100, Charles Daniels <[EMAIL PROTECTED]> wrote:
> Dion,
> 
> Adding the commons-net dependency makes no difference.  I doubt this could
> make a difference anyway, because from what I can tell maven uses ant
> 1.5.3-1 and the ftp task in that version does not use commons-net, but
> rather the original ORO NetComponents jar file.  However, adding
> NetComponents.jar to the dependency makes no difference either.  Here's a
> simple example of a goal I put in my maven.xml:
> 
>   <goal name="ftp-test">
>     <ant:ftp
>       server="myftpserver"
>       userid="myftpuserid"
>       password="myftppassword"
>       passive="true"
>       verbose="true"
>       action="get">
> 
>       <ant:fileset dir=".">
>         <ant:include name="*.*"/>
>       </ant:fileset>
>     </ant:ftp>
>   </goal>
> 
> There are a number of files in the default ftp directory, but when I run
> 'maven ftp-test', here's the output I get:
> 
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0
> 
> Attempting to download xdoclet-1.2.2-SNAPSHOT.jar.
> Response content length is not known
> Attempting to download xdoclet-web-module-1.2.2-SNAPSHOT.jar.
> Response content length is not known
> BUILD SUCCESSFUL
> Total time: 7 seconds
> Finished at: Sun Jul 18 16:59:05 BST 2004
> 
> Not a peep from the ftp task, but I can directly use my ftp client to fetch
> files without a problem.  Any other ideas?
> 
> -- Chuck
> 
> 
> 
> > -----Original Message-----
> > From: Dion Gillard [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, July 18, 2004 3:33 PM
> > To: Maven Users List
> > Subject: Re: FTP stuff
> >
> >
> > Are your dependencies specified to include commons.net?
> >
> > On Sun, 18 Jul 2004 15:28:34 +0200, Colin Chalmers
> > <[EMAIL PROTECTED]> wrote:
> > > Hi all,
> > >
> > > I've just downloaded ver 1 after playing with previous versions along
> > > the way.
> > > Everything appears to be working OK except when I try to use FTP, even
> > > ant:ftp doesn't seem to work. When maven hits this script it just prints
> > > out the settings but does nothing with them. I did see some older
> > > messages concerning this issue  and that it probably had to do with the
> > > commons.net jar file.
> > >
> > > Is this still the case? Are other using ftp successfully?
> > >
> > > Colin
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > http://www.multitask.com.au/people/dion/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to