Move File - (by Felice Di Stefano)
(ASP and PHP support)
This behavior will insert a code block to move a file with or without a form. Usually you can move a file inserting the origin path and destination path in form elements triggered by a form button but you may make it happen dynamically when page loads depending on the value of sources. It is not possible to move directories.
Setting up
| Form Name: | Select the form you are using. Don't bother it if you are not using a form. |
| Origin Elem: | Define here the form element or source used for the path of the origin file. |
| Destination Elem: | Define here the form element or source used for the destination path. You may also change the name of the file. |
| 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 invalid 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 fails because the destination file already exists. In Asp a system message will be returned. |
| Redirect To: | Define a redirection after operation if you wish. |
by FELIXONE