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: Kepa \(Lan-1000 S.L.\) via curl-users <"Kepa>
Date: Tue, 24 Nov 2020 10:18:47 +0100

How is the syntax to send the umask parameter in curl windows?

I do not understand what that parameter does

Anyway the shipment is not being done by SFTP

Thank you



De: curl-users <> En nombre de Johannes via curl-users
Enviado el: martes, 24 de noviembre de 2020 9:02
Asunto: umask/permissions for uploaded files via sftp




I haven’t found a solution to set default file permissions for uploading files. I wonder if curl respectively the client is responsible for setting the permissions or is that the job of the receiving server?


For me it would be nice if I could pass a umask as a parameter to a curl call.

I don’t want to change file permissions in a second step after uploading.


Best regards

Johannes Leidheiser


Received on 2020-11-24