ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allan McKenzie <Allan.McKen...@ftse.com>
Subject FTP get problem
Date Mon, 17 Mar 2003 12:52:04 GMT

I'm new to this mailing list, and glad to be here. 

I'm having problems with the ftp 'get' task. I an upload files onto the
remote server with no problems, but I can't retrieve any files. Even if I
try to get exactly the same files that I just uploaded I just get the
message '0 files retrieved'. 

Could anyone tell me what I am doing wrong?

Many thanks

Allan Mckenzie


===================  build.xml ======================================

<target name="ftp" >
    
  <ftp server="192.128.40.10"
	 action="put"
	 remotedir="public/development/deployment/reconciliation"
	 userid="hpftp"
	 password="password"
	 newer="no"
	 binary="yes"
	 verbose="true" >
      <fileset dir="D:/temp">
	<include name="**/*.zip"/>
      </fileset>
    </ftp>

  <ftp server="192.128.40.10"
	 action="get"
	 remotedir="public/development/deployment/reconciliation"
	 userid="hpftp"
	 password="password"
	 newer="no"
	 binary="yes"
	 verbose="true" >
      <fileset dir="D:/temp">
	<include name="**/*.zip"/>
      </fileset>
    </ftp>
</target>    


===================  output    ======================================

ftp:
      [ftp] Opening FTP connection to 192.128.40.10
      [ftp] connected
      [ftp] logging in to FTP server
      [ftp] login succeeded
      [ftp] changing the remote directory
      [ftp] sending files
      [ftp] transferring D:\temp\fred.zip
      [ftp] File D:\temp\fred.zip copied to 192.128.40.10
      [ftp] transferring D:\temp\zip\faxback03032003.zip
      [ftp] File D:\temp\zip\faxback03032003.zip copied to 192.128.40.10
      [ftp] transferring D:\temp\zip\faxback28022003.zip
      [ftp] File D:\temp\zip\faxback28022003.zip copied to 192.128.40.10
      [ftp] 3 files sent
      [ftp] disconnecting
      [ftp] Opening FTP connection to 192.128.40.10
      [ftp] connected
      [ftp] logging in to FTP server
      [ftp] login succeeded
      [ftp] changing the remote directory
      [ftp] getting files
      [ftp] 0 files retrieved
      [ftp] disconnecting

BUILD SUCCESSFUL
Total time: 3 seconds




**********************************************************************

This e-mail and any attachments may contain confidential or privileged
information. If you are not the intended recipient, please contact the
sender immediately and do not use, store or disclose their contents.
Any views expressed are those of the individual sender and not of FTSE
International unless otherwise stated.

                     http://www.ftse.com 
**********************************************************************


Mime
View raw message