ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: FTP get problem
Date Tue, 07 Mar 2006 17:31:38 GMT
Check the permissions of the remote files. Can you get them with another
FTP client using the same username and password?

-Rob A 

> -----Original Message-----
> From: Karthik [mailto:karthikn@xius.org] 
> Sent: Tuesday, March 07, 2006 12:05 AM
> To: user@ant.apache.org
> Subject: FTP get problem
> 
> Hi form
> 
> 
>   I used the same ftp task specified in the ANT manual 1.6.6
> 
>   Using this target in my build file ( Xbuild.xml )  to  get 
> all files from the remotedir to my local system.
> 
>   <target name="FTP_GET">
>   <ftp action="get"
>        server="192.168.150.110"
> 	 remotedir="/home/projectt/karthik"
> 	 userid="projectt"
> 	 password="abc1234">
>      <fileset dir="F:/TARGET">
>      </fileset>
>   </ftp>
> </target>
> 
> 
>  I get this error as below...
> 
> 
> //////////////////////////// error 
> ////////////////////////////////////
> Buildfile: D:\JAVA\TEST\Xbuild.xml
> FTP_GET:
>       [ftp] getting files
> 
> BUILD FAILED
> D:\JAVA\TEST\Xbuild.xml:10: could not get file: 550 Failed to 
> open file.
> 
> 
> Total time: 1 second
> //////////////////////////////////////////////////////////////
> /////////
> 
> 
> I search the net for answers...non was avaliable.
> 
> 
> please some body help me
> 
> 
> 
> with regards
> Karthik
> 
> 
> ---------------------------------------------------------------------
> 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