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 11:51:00 +0100

It is a send to a REST type webservice. A POST is made with the TLS 1.2
protocol.
The submission consists of a header with json data, the digital certificate
and a body with the file to be sent.

The authorization has to be done by the server.
Thnaks

-----Mensaje original-----
De: curl-users <curl-users-bounces_at_cool.haxx.se> En nombre de Daniel
Stenberg via curl-users
Enviado el: martes, 24 de noviembre de 2020 11:26
Para: Johannes via curl-users <curl-users_at_cool.haxx.se>
CC: Daniel Stenberg <daniel_at_haxx.se>; j.leidheiser_at_dgkl-rfb.de
Asunto: Re: umask/permissions for uploaded files via sftp

On Tue, 24 Nov 2020, Johannes via curl-users wrote:

> 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?

It depends on *how* you upload it, mostly which protocol.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://www.wolfssl.com/contact/
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2020-11-24