commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clark Archer <>
Subject Re: Ant1.6 - FTP task with MS FTP
Date Fri, 06 Feb 2004 22:56:07 GMT
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
>>               <ftp action="get" server="${ftp_server}" userid="${ftp_username}"
password="${ftp_password}" remotedir="${ftp_remotedir}">
>>                       <fileset dir="${}">
>>                               <include name=""/>
>>                       </fileset>
>>               </ftp>
>>       </target>


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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message