ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy Lambert <anto...@gmx.de>
Subject Re: FTP task
Date Tue, 09 Feb 2010 00:04:48 GMT
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@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message