cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re:Re: delete local file after successfully transmitted

From: κÈêˆ� <wwwrryy_at_163.com>
Date: Mon, 12 Mar 2012 10:43:36 +0800 (CST)

The success prompt the curl return is "Persisted",right?

ÔÚ 2012-03-12 00:35:50£¬"Daniel Stenberg" <daniel_at_haxx.se> дµÀ£º
>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-12