Add two new options for the SFTP/SCP/FILE protocols: CURLOPT_NEW_FILE_PERMS
authorJames Housley <jim@thehousleys.net>
Wed, 27 Jun 2007 20:15:48 +0000 (20:15 +0000)
committerJames Housley <jim@thehousleys.net>
Wed, 27 Jun 2007 20:15:48 +0000 (20:15 +0000)
commit4cd7f85410ae9590fa4dd274a9c77604b3b8d4fc
treefd45dc75b67be9ca91e816485e959eb1fceb8621
parentedd35cab5cbe0872b19b98936b58e4941c93de12
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
docs/libcurl/curl_easy_setopt.3
include/curl/curl.h
lib/easy.c
lib/file.c
lib/ssh.c
lib/url.c
lib/urldata.h