Author Login
Post Reply
You might want to use the attribute remotedir="hazards".
The semantics of the ftp task are not easy ...
Antoine
Antoine Levy Lambert wrote:
> Hello John,
>
> you might not be doing anything wrong. Could you generate a stack dump
> so that we find out exactly what happens ?
>
> Also, could you try other ftp actions such as either getting or
> putting a file, whatever you can try most conveniently ?
>
> Regards,
>
> Antoine
>
> John Cartwright wrote:
>> Hello All,
>>
>> I'm trying a simple FTP task w/ v. 1.8.0 and it seems to connect OK, but
>> hangs at the execution of the list command. Can someone please point
>> out what I'm doing wrong?
>>
>> Thanks!
>>
>> --john
>>
>>
>> <?xml version="1.0" ?>
>> <project name="testme" default="ftptest">
>>
>> <target name="ftptest">
>> <ftp action="list"
>> listing="toc.txt"
>> server="ftp.ngdc.noaa.gov"
>> userid="anonymous"
>> password="anonymous">
>> <fileset dir="hazards">
>> <include name="**/*.jpg"/>
>> </fileset>
>> </ftp>
>> </target>
>>
>> </project>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)