[ Table Of Contents | Keyword Index ]

ns_writecontent(n) 4.99 "NaviServer Built-in Commands"

NAME

ns_writecontent - Write content to a file

TABLE OF CONTENTS

    TABLE OF CONTENTS
    SYNOPSIS
    DESCRIPTION
    COMMANDS
    EXAMPLES
    SEE ALSO
    KEYWORDS

SYNOPSIS

ns_writecontent fileid

DESCRIPTION

This function writes all the content (including any embedded null characters) to the specified file.

COMMANDS

ns_writecontent fileid


fileid Opened Tcl stream

EXAMPLES

 
set fp [open /tmp/data.txt]
ns_writecontent $fp
close $fp

SEE ALSO

nsd

KEYWORDS

NaviServer