Applicable in Service-class directives.
The make-dir function creates a directory when the client sends a request whose method is MKDIR. The function can fail if the server can’t write to that directory.
When remote file manipulation is enabled in the server, the obj.conf file contains a Service-class function that invokes make-dir when the request method is MKDIR.
The following table describes parameters for the make-dir function.
Table 4–52 make-dir Parameters
Parameter |
Description |
---|---|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
bucket |
(Optional) Common to all obj.conf functions. |
Service fn="make-dir" method="MKDIR" |