NaviServer - programmable web server


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

ns_upload_stats(n) 4.99.3 naviserver "NaviServer Built-in Commands"

Name

ns_upload_stats - Return realtime statistic about being uploaded file

Table Of Contents

Synopsis

Description

This command is useful in case of uploading big files and giving users some progress statistics about the process. It works by creating special counter for the uploaded url and keeps updating it while the file is being uploaded. Once file is uploaded completely this statistics is removed from the local cache.

COMMANDS

ns_upload_stats url

url This is the url where the file is being uploaded

CONFIGURATION

ns_section ns/parameters ns_param progressminsize 2048

EXAMPLES

Put some examples here to illustrate command usage.

See Also

nsd

Keywords

NaviServer