Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Avoiding overwriting a symlinked target
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Sat, 1 Jan 2022 21:50:18 +0100 (CET)
On Thu, 30 Dec 2021, Dirk Fieldhouse via curl-users wrote:
> Would curl be open to accepting a --unlink (or similar) option that would
> cause a to-be-clobbered file to be unlinked rather than overwritten directly
> (obviously only for OS/FS combinations where that makes sense)?
Why should curl remove the file when you can just do it yourself before
invoking curl?
Date: Sat, 1 Jan 2022 21:50:18 +0100 (CET)
On Thu, 30 Dec 2021, Dirk Fieldhouse via curl-users wrote:
> Would curl be open to accepting a --unlink (or similar) option that would
> cause a to-be-clobbered file to be unlinked rather than overwritten directly
> (obviously only for OS/FS combinations where that makes sense)?
Why should curl remove the file when you can just do it yourself before
invoking curl?
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/listinfo/curl-users Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2022-01-01