letsencrypt::Client method writeFile (protected)
<instance of letsencrypt::Client> writeFile [ -binary ] \ [ -append ] fileName content
Defined in /usr/local/ns/tcl/letsencrypt/letsencrypt-procs.tcl
- Switches:
- -binary (optional, defaults to
"f"
)- -append (optional, defaults to
"f"
)- Parameters:
- fileName (required)
- content (required)
- Testcases:
- No testcase defined.
Source code: set mode [expr {$append ? "a" : "w"}] set F [open $fileName $mode] if {$binary} { fconfigure $F -encoding binary -translation binary } puts -nonewline $F $content close $FXQL Not present: Generic, PostgreSQL, Oracle