| AW: FTP get problem | AW: FTP get problem 2003-03-17 - By Jan.Materne@(protected)
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?rne
-----Urspr?ngliche Nachricht----- Von: Allan McKenzie [mailto:Allan.McKenzie@(protected)] Gesendet am: Montag, 17. M?rz 2003 13:52 An: 'user@(protected)' Betreff: FTP get problem
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 **********************************************************************
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |