Server Side Include (SSI) 54 (258)
9.3.8 SaveDataToFile()
This command stores data from an HTML form as a file in the file system. Content from the dif-
ferent form objects are separated by a blank line (2*CRLF).
This function cannot be used in e-mail messages.
Syntax:
<?--#exec cmd_argument='SaveDataToFile("filename" [, "source"],
Overwrite|Append)'-->
filename Destination file. If the specified file does not exist, it will be created (provided that the
path is valid).
source:
Optional; by specifying a form object, only data from that particular form object will be
stored. Default behavior is to store data from all form objects except the ones where
the name starts with underscore.
Overwrite|Append Specifies whether to overwrite or append data to existing files.
Default Output
Scenario Default Output
Success “Configuration stored to ‘filename’”
Authentication Error “Authentication error”
File Write Error “Could not store configuration to ‘filename’”
Anybus
®
CompactCom
™
40 PROFINET IRT Network Guide SCM-1202-023 EN 1.8