<get src="http://ant.apache.org/" dest="help/index.html"/>Gets the index page of http://ant.apache.org/, and stores it in the file help/index.html.
<get src="http://jakarta.apache.org/builds/tomcat/nightly/ant.zip" dest="optional.jar" verbose="true" usetimestamp="true"/>Gets the nightly ant build from the tomcat distribution, if the local copy is missing or out of date. Uses the verbose option for progress information.
<get src="https://insecure-bank.org/statement/user=1214" dest="statement.html" username="1214"; password="secret"/>Fetches some file from a server with access control. Because https is being used the fact that basic auth sends passwords in plaintext is moot.