Server Side Include (SSI)
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
source:
Overwrite|Append
Default Output
Scenario
Success
Authentication Error
File Write Error
®
Anybus
CompactCom
™
40 PROFINET IRT Network Guide
Destination file. If the specified file does not exist, it will be created (provided that the
path is valid).
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.
Specifies whether to overwrite or append data to existing files.
Default Output
"Configuration stored to 'filename'"
"Authentication error"
"Could not store configuration to 'filename'"
54 (258)
SCM-1202-023 EN 1.8
Need help?
Do you have a question about the CompactCom 40 and is the answer not in the manual?
Questions and answers