NaviServer Programmable Web Server

ns_truncate(n)

NaviServer Built-in Commands – 5.0.0a


[ Main Table Of Contents | Table Of Contents | Keyword Index ]

Name

ns_truncate - Truncate file in size

Table Of Contents

Synopsis

Description

This command truncates a given file to the given length.

COMMANDS

ns_truncate filename ?length?

filename File to be truncated.

length If specified, truncate up to this length otherwise make file 0 size.

See Also

nsd

Keywords

NaviServer, file, global built-in, truncate