Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets the new directory permissions.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes
MBS( "CURL.SetOptionNewDirectoryPerms"; curl; Value )   More


Parameter Description Example value
curl The CURL session handle. $curl
Value The permissions value. (octal value!) 7*8*8+5*8+5


Returns "OK" on success.


Sets the new directory permissions.
Pass a number as a parameter, containing the value of the permissions that will be assigned to newly created directories on the remote server. The default value is 0755, but any valid value can be used. The only protocols that can use this are sftp://, scp://, and file://.

See also NEW_DIRECTORY_PERMS option in CURL manual.

See also

Created 18th August 2014, last changed 18th August 2014

CURL.SetOptionNetRC   -   CURL.SetOptionNewFilePerms

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos