cURL / Mailing Lists / curl-library / Single Mail


Re: Command line switch to force overwrite

From: Gisle Vanem <>
Date: Mon, 1 Feb 2016 17:17:06 +0100

Andrew Williams wrote:

> Running the script again though shows no overwrite.

How do you conclude that? What do you mean by "show" and
how long is it before you run the script again? I guess
server-caching is creating troubles for you here.

> I can't find a force overwrite switch.
> Current put
> curl.exe -H "Authorization: Bearer <TOKEN remove for security>"
> -T "C:\DATA\Network_Audit.xlsx"

A curl upload works fine here (on Win-10), so I think it's a problem at your
or the DropBox end.

Does DropBox per chance use Apache servers? In such case,
I've seen it can help to add this to your .htaccess file:
  Header add "disablevcache" "true"

(I have that in my server's root-dir).
But if it happens with FTP too (as you said), the above won't help.

Also check this out:

since maybe DropBox is using NGinx servers.

List admin:
Received on 2016-02-01