cURL / Mailing Lists / curl-library / Single Mail


Re: How to disable FTP file upload overwrite??

From: Daniel Stenberg <>
Date: Mon, 28 Jul 2008 23:20:37 +0200 (CEST)

On Mon, 28 Jul 2008, Tiago Conceição wrote:

> any curl_easy_setopt() define to set for quit if file exists? how can i do
> that?

You can't. You'll need to first do a check for the file and then decide
yourself how to act based on that knowledge.

> what do CURLOPT_APPEND ?

It allows you to append to the remote file instead of replacing it. If the
protocol allows it.

Received on 2008-07-28