letsencrypt::Client method writeFile (protected)

 <instance of letsencrypt::Client[i]> 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 $F
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: