Create Directory - (by Felice Di Stefano)
(ASP and PHP support)
This behavior will insert a code block to create a new directory with or without a form. Usually you can create a directory inserting the path on a form element triggered by a form button but you may make it happen dynamically when page loads depending on the value of sources.
Setting up
| Form Name: | Select the form you are using. Don't bother it if you are not using a form. |
| Path Elem: | Define here the form element or source used for the path where the directory will be created. |
| Chmod: | Only for PHP. Assign permissions to the created directory, usually 755 can be enough to read and write. |
| Trigger: | Define here the form element (button) or source which will trigger the action. |
| Failed Msg: | Only for PHP. Write a message to show in case the operation fails, reasons may be various like not existing path, not enough permissions or else. In Asp a system message will be returned. |
| Exists Msg: | Only for PHP. Write a message to show in case the operation will not happen because the directory already exists. In Asp a system message will be returned. |
| Redirect To: | Define a redirection after operation if you wish. |
by FELIXONE