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:[EMAIL PROTECTED] 
> Sent: Tuesday, March 07, 2006 12:05 AM
> To: [email protected]
> 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: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to