ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Holliday, Donald B. (LNG-CSP)" <Donald.Holli...@lexisnexis.com>
Subject RE: ftp download, has it ever worked?
Date Mon, 09 Feb 2004 19:13:27 GMT
If you ftp a jar file you need to make it a binary ftp or the file will be
contaminated.

Thanks,

Donald Holliday



-----Original Message-----
From: Lauzon Daniel-Y18165 [mailto:Y18165@motorola.com]
Sent: Monday, February 09, 2004 11:26 AM
To: 'Ant Users List'
Subject: ftp download, has it ever worked?


quoting the ant user's manual from toc/ant tasks/optional tasks/ftp/getting
files

	Getting files from an FTP server works pretty much the same way as
sending them does. The only difference is that the 	nested filesets use
the remotedir attribute as the base directory for the files on the FTP
server, and the dir 	attribute as the local directory to put the files
into. The file structure from the FTP site is preserved on the local
machine.
	  <ftp action="get"
	       server="ftp.apache.org"
	       userid="anonymous"
	       password="me@myorg.com">
	    <fileset dir="htdocs/manual">
	      <include name="**/*.html"/>
	    </fileset>
	  </ftp>
	Logs in to ftp.apache.org as anonymous and recursively downloads all
.html files from default directory for that user 	into the
htdocs/manual directory on the local machine.

Has anybody ever got this to work? The archives has nothing but unanswered
entries that match this one.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message