Learning ColdFusion 8: Ping - User Defined Function (Inspired By Ray Camden)

<!---
	Ping Flickr.com and download photo to the given
	directory. Ping() will use the target file name.
--->
<cfset Ping(
	URL = "http://farm2.static.flickr.com/1129/528629811_4d57a56ed5_b.jpg",
	File = ExpandPath( "./data/" )
	) />
 
 
<!--- Ping URL, but to not save file. --->
<cfset Ping(
	URL = "http://www.fullasagoog.com/googimporter.cfm?id=XXX"
	) />

For Cut-and-Paste