curl / Mailing Lists / curl-users / Single Mail
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: umask/permissions for uploaded files via sftp

From: Johannes via curl-users <>
Date: Tue, 24 Nov 2020 14:22:48 +0100

> On Tue, 24 Nov 2020, Johannes via curl-users wrote:
>> I use sftp.
> libcurl has an option for this, called CURLOPT_NEW_FILE_PERMS, but the curl tool itself doesn't actually use/set this option so there's no way to change the defaults with it!
> Obviously room for improvement here...
> --
> /
> | Commercial curl support up to 24x7 is available!
> | Private help, bug fixes, support, ports, new features
> |

Thank you for the information! I would have thought that this is a feature everybody needs and that it is implemented for ages. You never stop learning.

Best regards

Received on 2020-11-24