home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


mirror

 $

ua


->mirror
(

url

, 

file

)

Given a URL and file path, this method copies the contents of url into the file when the length or modification date headers are different from any previous retrieval. If the file does not exist, it is created. This method returns an HTTP::Response object, where the response code indicates what happened.