2011-06-16 71 views

回答

2

cURL沒有與wget內置的相同類型的鏡像支持。在cURL中有一個設置,應該可以很容易地通過一些包裝邏輯來實現這一點。這是--remote-time選項:

-R/--remote-time 
      When used, this will make libcurl attempt to figure out the 
      timestamp of the remote file, and if that is available make the 
      local file get that same timestamp.