curl-users
Re: delete local file after successfully transmitted
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 11 Mar 2012 17:35:50 +0100 (CET)
Date: Sun, 11 Mar 2012 17:35:50 +0100 (CET)
On Mon, 12 Mar 2012, κꈐ wrote:
> How can I deletes local files that have been successfully transmitted with
> HTTP Post?
Write a shell script (or similar), check that curl returns success and if it
does, then remove the file with 'rm' or 'del' or whatever command you use to
delete files.
-- / daniel.haxx.se
-------------------------------------------------------------------
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 2012-03-11