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: Daniel Stenberg via curl-users <>
Date: Tue, 24 Nov 2020 13:46:32 +0100 (CET)

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
Received on 2020-11-24