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 Karthik
Reply:     1     2     3     4     5  

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)


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