Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionNewFilePerms

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionNewFilePerms"; handle; value )

Parameters

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

Result

Returns "OK" on success.

Description

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

Feedback: Report problem or ask question.




Links
MBS Real Studio Plugins - Christians Software aus Nickenich