ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhirendra Kulkarni" <>
Subject Re: FTP again
Date Wed, 10 Oct 2001 07:18:10 GMT
Yes Kapil, I tried ftping from command prompt within and also in remote machine
and i could do all tasks successfully

  ----- Original Message ----- 
  Sent: Wednesday, October 10, 2001 5:06 PM
  Subject: Re: FTP again

  Hi Dhirendra, 

  Before trying the ant task you must make sure that FTP runs from the command prompt using
the same parameters that you are supplying to the ftp task in ant build script. The ftp task
is a kind of "wrapper" provided by Ant for FTPing and will not work if conventional FTP does
not work given identical credentials in both cases. 

  Are you able to ftp to using conventional ftp program? 
  Kapil Singh Pawar
  Consultant - Integration
  i2 Technologies India Private Ltd.
  1 Primrose Road
  Bangalore 560 025, INDIA
  Tel: +91 80 558 1487-90 ext. 2416 

       "Dhirendra Kulkarni" <> 
        10/10/01 10:54 AM 
        Please respond to ant-user 

                To:        <> 
                Subject:        FTP again 

  Hello all, Iam sorry to post this again as Iam still ot clear about this
  task. my revised xml is as below

  <target >
     <ftp server=""
     <fileset dir="." >
       <include name="aaa.doc"/>

  i could login to ftp server, btw now iam getting error  :
  C:\ant\jakarta-ant-1.3\build.xml:23: could not change remote directory: 550
  Requested directory not found .

  Here is name of my pc where argo ftp server is installed and
  in that i have created wtadmin user. but now iam not been able to connect to
  remote machine and transfer the file. (i tried giving the ip of remote
  machine in ftp server user properties)

  First of all can this be possible? ( to transfer files from one machine to
  other machine both with NT  and in LAN )

  eagarly waiting for the reply

  ----- Original Message -----
  From: Dhirendra Kulkarni <>
  To: <>
  Cc: <>
  Sent: Tuesday, October 09, 2001 3:08 PM
  Subject: Re: FTP

  > Hi Iam trying to put some files in remote machine which is in LAN to my
  > machine using FTP task of Ant, I am not able to understand how to use this
  > task, My xml reads as below
  >  <target name="transfer" depends="main">
  >     <ftp server=""
  >        remotedir="incoming"
  >        userid="anonymous"
  >        password=""
  >        depends="yes"
  >     >
  >     <fileset dir="./samples" >
  >       <include name="*.doc"/>
  >     </fileset>
  >     </ftp>
  >   </target>
  > iam getting error: C:\ant\jakarta-ant-1.3\build.xml:21: error during FTP
  > transfer:
  > Exception: Connection refused: no further information
  > Here pl clarify certain things:
  > 1.where are we saying that to which remote machine we are connecting ( we
  > are mentioning ftp server and no remote m/c ip)
  > 2. where are these userid and password are created
  > Thanks
  > DK

View raw message