-o Ignore Non-Existent Files
Date: Tue, 25 Nov 2008 07:48:12 -0800 (PST)
I'm using curl via the cmd line/batch file in Windows XP. I have it pulling a series of png files from a web server via the HTTP command: "curl http://webserver/file.png -o c:\local\file.png" etc.
The files are dynamically created and sometimes there is 1 file and other times there are up to 20. Right now I have curl pulling all 20 files, but if the file does not exist on the server, curl creates an empty (1 kb) png file on the local server.
How can tell curl to ignore these empty files, or do something within the batch file to ignore or delete these files.
Received on 2008-11-25