GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
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.
2022-05-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.