Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 57653 invoked from network); 17 Mar 2003 13:22:41 -0000 Received: from ukmail.ftse.com (194.131.0.51) by daedalus.apache.org with SMTP; 17 Mar 2003 13:22:41 -0000 Received: by ukmail with Internet Mail Service (5.5.2653.19) id ; Mon, 17 Mar 2003 13:23:25 -0000 Message-ID: From: Allan McKenzie To: 'Ant Users List' Subject: RE: FTP get problem Date: Mon, 17 Mar 2003 13:23:24 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Jan Thanks for your reply.=20 I'm afraid I tried that. I'm assuming that the 'newer=3D"no"' parameter = means that the files will always be overwritten (at least that works with the upload). However, I've changed the build script to do what you = suggested (and even deleted the local files to make sure that they are not up to date), but the same thing happens. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D build.xml = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D output = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 -----Original Message----- From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] Sent: Monday, March 17, 2003 12:58 PM To: user@ant.apache.org Subject: AW: FTP get problem Because the timestamp of the files are the same (local and remote) no = get is needed, because your local copy is up to date. If you want to try it, choose a different local directory = (dir-attribute in the fileset). Jan Mat=E8rne -----Urspr=FCngliche Nachricht----- Von: Allan McKenzie [mailto:Allan.McKenzie@ftse.com] Gesendet am: Montag, 17. M=E4rz 2003 13:52 An: 'user@ant.apache.org' Betreff: FTP get problem I'm new to this mailing list, and glad to be here.=20 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'.=20 Could anyone tell me what I am doing wrong? Many thanks Allan Mckenzie =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D build.xml = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D output = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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=20 ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ********************************************************************** 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=20 **********************************************************************