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]