![Anybus CompactCom 40 Common Ethernet Design Manual Download Page 36](http://html1.mh-extra.com/html/anybus/compactcom-40-common-ethernet/compactcom-40-common-ethernet_design-manual_2948756036.webp)
34 (104)
8.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 Common Ethernet Design Guide
HMSI-27–269 2.1