NaviServer - programmable web server
4.99  5.0

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

ns_truncate(n) 5.0.0a naviserver "NaviServer Built-in Commands"

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