This service provides ability to read file content. If the file does not exist, it will output nothing.
At this page, only supports absolute file path.
path: String. The file path that you want to read.
switch: Boolean. The switching signal of read file. If it's true, this service will file content according to the config path.
out: String. The file content.
This service provides ability to write content to file. You can simply override the specific file or just append data to it. If the file does not exist, it will create an empty file and write data to it.When you set the config path, you must ensure the the directory exist.
At this page, only supports absolute file path.
path: String. The file path that you want to write.
mod: String. The operation mode. If the value equals append, this service will append data to specific file, otherwise it will override it.
input: String. The content that will be write to file.
out: Boolean. Output true if send write file successfully, otherwise output false.