cURL / Mailing Lists / curl-users / Single Mail

curl-users

Using curl to download only new files

From: Rakesh Shembekar <srakesh_22_at_hotmail.com>
Date: Wed, 18 Jun 2008 04:47:22 +0000

Hello curl users,
 
Currently I am using wget to download a file from remote server to local machine.
wget --no-check-certificate -N -nd -r -l1 --append-output=/home/logfile -P /home/data -A test.xml http://www.example.com
 
Using above command wget will only download if there is change in http://www.example.com/test.xml file.
 
Since I cant get status code easily with wget I want to switch to curl.
 
Is the above functionality of download if new or changed file exist is possible with curl.
 
Thanks
gug
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
Received on 2008-06-18