Actually, if you are willing to get the latest commons-net from CVS and build
the jar, it is no longer necessary to change the MS FTP server-type property.
And as soon as 1.2.0 of commons-net is released, it will no longer be
necessary to build commons-net to get this functionality.
On Friday 06 February 2004 4:56 pm, Clark Archer wrote:
> ALL> Elischer, Matt (M.) wrote:
> >>Hi all,
> >>
> >>I'm trying to retrieve a file from a MS FTP server with Ant1.6.0. I'm
> >> using JDK1.3.1 and commons-net-1.1.0.jar. My target is as follows:
> >>
> >> <target name="retrieve_content" description="retrieves content
> >> from FTP box"> <ftp action="get" server="${ftp_server}"
> >> userid="${ftp_username}" password="${ftp_password}"
> >> remotedir="${ftp_remotedir}"> <fileset dir="${content.download.dir}">
> >> <include name="test.zip"/>
> >> </fileset>
> >> </ftp>
> >> </target>
>
> Matt,
>
> did you set your MS FTP server to return UN*X-style
> directory listings? On one of the property pages for the
> FTP site, you have to change from the default Windows-style
> before <ftp> will work correctly.
>
> -Clark
>
>
> ---------------------------------------------------------------------
> 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]