-
- Downloads
Add two new options for the SFTP/SCP/FILE protocols: CURLOPT_NEW_FILE_PERMS
and CURLOPT_NEW_DIRECTORY_PERMS. These control the premissions for files and directories created on the remote server. CURLOPT_NEW_FILE_PERMS defaults to 0644 and CURLOPT_NEW_DIRECTORY_PERMS defaults to 0755
Showing
- docs/libcurl/curl_easy_setopt.3 11 additions, 0 deletionsdocs/libcurl/curl_easy_setopt.3
- include/curl/curl.h 5 additions, 0 deletionsinclude/curl/curl.h
- lib/easy.c 2 additions, 0 deletionslib/easy.c
- lib/file.c 16 additions, 1 deletionlib/file.c
- lib/ssh.c 10 additions, 26 deletionslib/ssh.c
- lib/url.c 17 additions, 0 deletionslib/url.c
- lib/urldata.h 2 additions, 0 deletionslib/urldata.h
Loading
Please register or sign in to comment