cURL / Mailing Lists / curl-users / Single Mail

curl-users

Control error in curl tool

From: Xavier Fernandez <xfernandez_at_csc.com>
Date: Wed, 25 Aug 2010 14:01:23 +0200

Hi, I'm using curl tool to download a couple of files from http site.

curl -o 'destination file' -x 'Proxy address' -U 'Proxy userid/password' "
http://www.webaddress.com/file-tobe-downloaded"

This sentence is included in a CMD file

I don't have control if the file is or not downloaded.

I want send and email automatically (using for exemple blat.exe) when curl
fails to donwload the file

Any idea how to do that

Thanks in advace

Xavier

___________________________________________

Xavier Fernandez Domingo

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-25