Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
FTP get problem

FTP get problem

2006-03-07       - By Anderson, Rob (Global Trade)
Reply:     1     2     3     4     5  

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@(protected)]
> Sent: Tuesday, March 07, 2006 12:05 AM
> To: user@(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: 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)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.