|
|
| |
OpenXPKI::Server::Workflow::Activity::Tools::ExportToFile(3) |
User Contributed Perl Documentation |
OpenXPKI::Server::Workflow::Activity::Tools::ExportToFile(3) |
OpenXPKI::Server::Workflow::Activity::Tools::ExportToFile
Write data from the context to a (temporary) file.
- value
- The plain data to be written. Nothing is done if data is empty.
- target_filename
- Filename to write the report to, if relative (no slash), target_dir must
be set and will be prepended. If not given, a random filename is set. The
final export file name is always written to export_filename.
- target_dir
- Mandatory if target_filename is relative. If either one is set, the system
temp dir is used.
- target_umask
- The umask to set on the generated file, default is 640. Note that the
owner is the user/group running the socket, if you want to download this
file using the webserver, make sure that either the webserver has
permissions on the daemons group or set the umask to 644.
- base64
- Set to encode if you want the content to encoded before written to
the file. Set to decode if the input value is base64 encoded and
you want to have the binary value in the written file. If not set, the
data is written as is.
After completion the following context parameters will be set:
- export_filename
- absolute path of the written file.
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |