NaviServer Programmable Web Server

commandlist(n)

NaviServer Built-in Commands – 5.0.0a


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

Name

commandlist - NaviServer Commands

Table Of Contents

Description

List of all documented and deprecated NaviServer commands.

Alphabetical list of documented NaviServer commands

ns_absoluteurl /partialurl/ /baseurl/
ns_accesslog extendedheaders ?/headers/?
ns_accesslog file ?/filepath/?
ns_accesslog flags ?/flags/?
ns_accesslog maxbackup ?/nrfiles/?
ns_accesslog maxbuffer ?/nrlines/?
ns_accesslog roll ?/filepath/?
ns_accesslog rollfmt ?/timeformat/?
ns_addrbyhost ?-all? ?--? /hostname/
ns_adp_abort ?/retval/?
ns_adp_append /string .../
ns_adp_argc
ns_adp_argv ?/index/? ?/default/?
ns_adp_bind_args /varname .../
ns_adp_break ?/retval/?
ns_adp_close
ns_adp_ctl autoabort ?true|false?
ns_adp_ctl bufsize ?/size/?
ns_adp_ctl cache ?true|false?
ns_adp_ctl channel /channel/
ns_adp_ctl detailerror ?true|false?
ns_adp_ctl displayerror ?true|false?
ns_adp_ctl expire ?true|false?
ns_adp_ctl safe ?true|false?
ns_adp_ctl singlescript ?true|false?
ns_adp_ctl stream ?true|false?
ns_adp_ctl stricterror ?true|false?
ns_adp_ctl trace ?true|false?
ns_adp_ctl trimspace ?true|false?
ns_adp_debug ?-host /value/? ?-port /value/? ?-procs /value/?
ns_adp_dir
ns_adp_dump
ns_adp_exception ?/varname/?
ns_adp_flush
ns_adp_include ?-cache /time/? ?-nocache? ?-tcl? ?--? /filename/ ?/arg .../?
ns_adp_info
ns_adp_mimetype ?/mimetype/?
ns_adp_parse ?-cwd /value/? ?-file? ?-safe? ?-string? ?-tcl? ?--? /arg .../
ns_adp_puts ?-nonewline? ?--? /string/
ns_adp_registeradp /tag/ ?/endtag/? /adpstring/
ns_adp_registerproc /tag/ ?/endtag/? /proc/
ns_adp_registerscript /tag/ ?/endtag/? /proc/
ns_adp_return ?/retval/?
ns_adp_stats
ns_adp_tell
ns_adp_trunc ?/length/?
ns_after /interval/ /script/ ?/arg .../?
ns_asynclogfile close /fd/
ns_asynclogfile open /filename/ ?/mode/?
ns_asynclogfile write ?-binary? ?-sanitize 0|1|2|3? /fd/ /line/
ns_atclose /script/ ?/arg .../?
ns_atexit /script/ ?/arg .../?
ns_atprestartup /script/ ?/arg .../?
ns_atshutdown /script/ ?/arg .../?
ns_atsignal /script/ ?/arg .../?
ns_atstartup /script/ ?/arg .../?
ns_base64decode ?-binary? ?-strict? ?--? /string/
ns_base64encode ?-binary? ?--? /string/
ns_base64urldecode ?-binary? ?-strict? ?--? /string/
ns_base64urlencode ?-binary? ?--? /string/
ns_baseunit ?-size /memory-size/? ?-time /time/?
ns_buildsqldate /month/ /day/ /year/
ns_cache_append ?-timeout /time/? ?-expires /time/? ?--? /cache/ /key/ /arg .../
ns_cache_configure /cache/ ?-timeout /time/? ?-expires /time/? ?-maxentry /memory-size/? ?-maxsize /memory-size/?
ns_cache_create ?-timeout /time/? ?-expires /time/? ?-maxentry /memory-size/? ?--? /cache/ /size/
ns_cache_eval ?-timeout /time/? ?-expires /time/? ?-force? ?--? /cache/ /key/ /arg .../
ns_cache_exists /cache/
ns_cache_flush ?-glob? ?--? /cache/ ?/arg .../?
ns_cache_get /cache/ /key/ ?/varname/?
ns_cache_incr ?-timeout /time/? ?-expires /time/? ?--? /cache/ /key/ ?/incr/?
ns_cache_keys ?-exact? ?--? /cache/ ?/pattern/?
ns_cache_lappend ?-timeout /time/? ?-expires /time/? ?--? /cache/ /key/ /arg .../
ns_cache_names
ns_cache_stats ?-contents? ?-reset? ?--? /cache/
ns_cache_transaction_begin
ns_cache_transaction_commit ?-all?
ns_cache_transaction_rollback ?-all?
ns_certctl list
ns_certctl reload
ns_chan cleanup ?-shared?
ns_chan create /channel/ /name/
ns_chan get /name/
ns_chan list ?-shared?
ns_chan put /name/
ns_charsets
ns_cleanup
ns_cond abswait /condId/ /mutexId/ ?/epoch/?
ns_cond broadcast /condId/
ns_cond create
ns_cond destroy /condId/
ns_cond set /condId/
ns_cond signal /condId/
ns_cond wait /condId/ /mutexId/ ?/timeout/?
ns_config ?-all? ?-bool? ?-int? ?-min /integer/? ?-max /integer/? ?-exact? ?-set? ?--? /section/ /key/ ?/default/?
ns_configsection ?-filter unread|defaulted|defaults? ?--? /section/
ns_configsections
ns_conn acceptedcompression
ns_conn auth
ns_conn authpassword
ns_conn authuser
ns_conn channel
ns_conn clientdata ?/value/?
ns_conn close
ns_conn compress ?/level/?
ns_conn content ?-binary? ?/offset/? ?/length/?
ns_conn contentfile
ns_conn contentlength
ns_conn contentsentlength ?/bytes/?
ns_conn copy /offset/ /length/ /channelId/
ns_conn currentaddr
ns_conn currentport
ns_conn details
ns_conn driver
ns_conn encoding ?/encoding/?
ns_conn fileheaders /file/
ns_conn filelength /file/
ns_conn fileoffset /file/
ns_conn files
ns_conn flags
ns_conn form ?-fallbackcharset /value/?
ns_conn fragment
ns_conn headerlength
ns_conn headers
ns_conn host ?/default/?
ns_conn id
ns_conn isconnected
ns_conn keepalive ?/value/?
ns_conn location
ns_conn method
ns_conn outputheaders
ns_conn partialtimes
ns_conn peeraddr ?-source configured|direct|forwarded?
ns_conn peerport
ns_conn pool
ns_conn port
ns_conn protocol
ns_conn query
ns_conn ratelimit ?/limit/?
ns_conn request
ns_conn server
ns_conn sock
ns_conn start
ns_conn status ?/status-code/?
ns_conn target
ns_conn timeout
ns_conn url
ns_conn urlc
ns_conn urldict
ns_conn urlencoding ?/encoding/?
ns_conn urlv ?/idx/?
ns_conn version
ns_conn zipaccepted
ns_connchan callback ?-timeout /time/? ?-receivetimeout /time/? ?-sendtimeout /time/? /channel/ /command/ /when/
ns_connchan close ?-server /server/? /channel/
ns_connchan connect ?-cafile /value/? ?-capath /value/? ?-cert /value/? ?-hostname /value/? ?-insecure? ?-timeout /time/? ?-tls? ?--? /host/ /port/
ns_connchan detach
ns_connchan exists /channel/
ns_connchan list ?-server /server/?
ns_connchan listen ?-driver /value/? ?-server /server/? ?-bind? ?--? /address/ /port/ /script/
ns_connchan open ?-cafile /value/? ?-capath /value/? ?-cert /value/? ?-driver /value/? ?-headers /setId/? ?-hostname /value/? ?-insecure? ?-method /value/? ?-timeout /time/? ?-unix_socket /value/? ?-version /value/? ?--? /url/
ns_connchan read ?-websocket? /channel/
ns_connchan status ?-server /server/? /channel/
ns_connchan write ?-buffered? /channel/ /message/
ns_connchan wsencode ?-binary? ?-fin 0|1? ?-mask? ?-opcode continue|text|binary|close|ping|pong? ?--? /message/
ns_crash
ns_critsec create
ns_critsec destroy /csid/
ns_critsec enter /csid/
ns_critsec eval /csid/ /script/
ns_critsec leave /csid/
ns_crypt /key/ /salt/
ns_crypto::aead::decrypt string ?-binary? ?-aad /value/? ?-cipher /value/? ?-encoding hex|base64url|base64|binary? ?-iv /value/? ?-key /value/? ?-tag /value/? ?--? /input/
ns_crypto::aead::encrypt string ?-binary? ?-aad /value/? ?-cipher /value/? ?-encoding hex|base64url|base64|binary? ?-iv /value/? ?-key /value/? ?--? /input/
ns_crypto::argon2 ?-ad /value/? ?-binary? ?-encoding hex|base64url|base64|binary? ?-iter /integer/? ?-lanes /integer/? ?-memcost /integer/? ?-outlen /integer/? ?-password /value/? ?-salt /value/? ?-secret /value/? ?-threads /integer/? ?-variant /value/?
ns_crypto::eckey generate ?-name /value/? ?-pem /value/?
ns_crypto::eckey import ?-binary? ?-string /value/? ?-encoding hex|base64url|base64|binary?
ns_crypto::eckey priv ?-encoding hex|base64url|base64|binary? ?-passphrase /value/? ?-pem /value/?
ns_crypto::eckey pub ?-encoding hex|base64url|base64|binary? ?-passphrase /value/? ?-pem /value/?
ns_crypto::eckey sharedsecret ?-binary? ?-encoding hex|base64url|base64|binary? ?-passphrase /value/? ?-pem /value/? ?--? /pubkey/
ns_crypto::hmac add ?-binary? ?--? /ctx/ /message/
ns_crypto::hmac free /ctx/
ns_crypto::hmac get ?-encoding hex|base64url|base64|binary? /ctx/
ns_crypto::hmac new ?-binary? ?--? /digest/ /key/
ns_crypto::hmac string ?-binary? ?-digest /value/? ?-encoding hex|base64url|base64|binary? ?--? /key/ /message/
ns_crypto::md add ?-binary? ?--? /ctx/ /message/
ns_crypto::md free /ctx/
ns_crypto::md get ?-encoding hex|base64url|base64|binary? /ctx/
ns_crypto::md hkdf ?-binary? ?-digest /value/? ?-salt /value/? ?-secret /value/? ?-info /value/? ?-encoding hex|base64url|base64|binary? ?--? /length/
ns_crypto::md new /digest/
ns_crypto::md string ?-binary? ?-digest /value/? ?-encoding hex|base64url|base64|binary? ?-passphrase /value/? ?-sign /value/? ?-signature /value/? ?-verify /value/? ?--? /message/
ns_crypto::md vapidsign ?-binary? ?-digest /value/? ?-encoding hex|base64url|base64|binary? ?-passphrase /value/? ?-pem /value/? ?--? /message/
ns_crypto::pbkdf2_hmac ?-binary? ?-digest /value/? ?-dklen /integer/? ?-iterations /integer/? ?-salt /value/? ?-secret /value/? ?-encoding hex|base64url|base64|binary?
ns_crypto::randombytes ?-encoding hex|base64url|base64|binary? /nrbytes/
ns_crypto::scrypt ?-binary? ?-salt /value/? ?-secret /value/? ?-n /integer/? ?-p /integer/? ?-r /integer/? ?-encoding hex|base64url|base64|binary?
ns_db 0or1row /handle/ /sql/
ns_db 1row /handle/ /sql/
ns_db bindrow /handle/
ns_db bouncepool /poolname/
ns_db cancel /handle/
ns_db connected /handle/
ns_db currenthandles
ns_db datasource /handle/
ns_db dbtype /handle/
ns_db dml /handle/ /sql/
ns_db driver /handle/
ns_db exception /handle/
ns_db exec /handle/ /sql/
ns_db flush /handle/
ns_db gethandle ?-timeout /time/? ?--? ?/poolname/? ?/nhandles/?
ns_db getrow /handle/ /setId/
ns_db logminduration ?/poolname/? ?/minduration/?
ns_db password /handle/
ns_db poolname /handle/
ns_db pools
ns_db releasehandle /handle/
ns_db rowcount /handle/
ns_db select /handle/ /sql/
ns_db setexception /handle/ /code/ /message/
ns_db sp_exec /handle/
ns_db sp_getparams /handle/
ns_db sp_returncode /handle/
ns_db sp_setparam /handle/ /paramname/ /type/ in|out /value/
ns_db sp_start /handle/ /procname/
ns_db stats
ns_db user /handle/
ns_dbconfigpath
ns_dberrorcode /handle/
ns_dberrormsg /handle/
ns_dbpooldescription /poolname/
ns_dbquotelist /list/ ?decimal|double|integer|int|real|smallint|bigint|bit|float|numeric|tinyint|text?
ns_dbquotename /name/
ns_dbquotevalue /value/ ?decimal|double|integer|int|real|smallint|bigint|bit|float|numeric|tinyint|text?
ns_deletecookie ?-domain /value/? ?-path /value/? ?-replace true|false? ?-samesite strict|lax|none? ?-secure true|false? ?--? /name/
ns_driver info
ns_driver names
ns_driver stats
ns_driver threads
ns_encodingforcharset /charset/
ns_encodingfortype /mimetype/
ns_env exists /name/
ns_env get ?-nocomplain? /name/
ns_env names
ns_env set /name/ /value/
ns_env unset ?-nocomplain? /name/
ns_eval ?-sync? ?-pending? /script/ ?/arg .../?
ns_fastpath_cache_stats ?-contents? ?-reset?
ns_filestat /filename/ ?/varname/?
ns_findset /sets/ /name/
ns_fmttime /time/ ?/fmt/?
ns_fseekchars /channelId/ /searchstring/
ns_ftruncate /channelId/ ?/length/?
ns_getcontent ?-as_file true|false? ?-binary true|false?
ns_getcookie ?-all true|false? ?-include_set_cookies true|false? ?--? /name/ ?/default/?
ns_getcsv ?-delimiter /value/? ?-quotechar /value/? ?-trim? ?--? /channelId/ /varname/
ns_getform ?-fallbackcharset /charset/? ?/charset/?
ns_getformfile /name/
ns_gifsize /filename/
ns_gmtime
ns_guesstype /filename/
ns_hash /value/
ns_hashpath /string/ /levels/
ns_headers ?-binary? ?--? /status/ ?/mimetype/? ?/length/?
ns_hmac file ?-digest /value/? ?-encoding /value/? /key/ /filename .../
ns_hmac new ?-digest /value/? -key /value/
ns_hmac string ?-digest /value/? ?-encoding /value/? /key/ /message/
ns_hostbyaddr /address/
ns_hotp ?-digest /value/? ?-digits /integer/? ?-key /value/? /data/
ns_hrefs /html/
ns_htmlselect ?-multi? ?-sort? ?-labels /labels/? /name/ /values/ ?/selectedData/?
ns_http cancel /id/
ns_http cleanup
ns_http keepalives
ns_http list ?/id/?
ns_http queue ?-binary? ?-body /value/? ?-body_chan /value/? ?-body_file /value/? ?-body_size /integer/? ?-cafile /value/? ?-capath /value/? ?-cert /value/? ?-connecttimeout /time/? ?-done_callback /value/? ?-expire /time/? ?-headers /setId/? ?-hostname /value/? ?-insecure? ?-keep_host_header? ?-keepalive /time/? ?-method /value/? ?-outputchan /value/? ?-outputfile /value/? ?-partialresults? ?-proxy /value/? ?-raw? ?-response_data_callback /value/? ?-response_header_callback /value/? ?-spoolsize /memory-size/? ?-timeout /time/? ?-unix_socket /value/? /url/
ns_http run ?-binary? ?-body /value/? ?-body_chan /value/? ?-body_file /value/? ?-body_size /integer/? ?-cafile /value/? ?-capath /value/? ?-cert /value/? ?-connecttimeout /time/? ?-done_callback /value/? ?-expire /time/? ?-headers /setId/? ?-hostname /value/? ?-insecure? ?-keep_host_header? ?-keepalive /time/? ?-method /value/? ?-outputchan /value/? ?-outputfile /value/? ?-partialresults? ?-proxy /value/? ?-raw? ?-response_data_callback /value/? ?-response_header_callback /value/? ?-spoolsize /memory-size/? ?-timeout /time/? ?-unix_socket /value/? /url/
ns_http stats ?/id/?
ns_http taskthreads
ns_http wait ?-timeout /time/? /id/
ns_httptime /time/
ns_ictl addmodule /module/
ns_ictl cleanup
ns_ictl epoch
ns_ictl get
ns_ictl getmodules
ns_ictl markfordelete
ns_ictl maxconcurrentupdates ?/max/?
ns_ictl save /script/
ns_ictl trace allocate|create|deallocate|delete|freeconn|getconn|idle /script/ ?/arg .../?
ns_ictl update
ns_imgmime /filename/
ns_imgsize /filename/
ns_imgtype /filename/
ns_info address
ns_info argv
ns_info argv0
ns_info bindir
ns_info boottime
ns_info builddate
ns_info buildinfo
ns_info callbacks
ns_info config
ns_info home
ns_info hostname
ns_info ipv6
ns_info locks
ns_info log
ns_info logdir
ns_info major
ns_info meminfo ?-release?
ns_info mimetypes
ns_info minor
ns_info name
ns_info nsd
ns_info patchlevel
ns_info pid
ns_info pools
ns_info scheduled
ns_info server
ns_info servers
ns_info shutdownpending
ns_info sockcallbacks
ns_info ssl
ns_info started
ns_info tag
ns_info threads
ns_info uptime
ns_info version
ns_internalredirect /location/
ns_ip match /cidr/ /ipaddr/
ns_ip properties /ipaddr/
ns_ip public /ipaddr/
ns_ip trusted /ipaddr/
ns_ip valid ?-type ipv4|ipv6? ?--? /ipaddr/
ns_issmallint /value/
ns_job cancel /queueId/ /jobId/
ns_job configure ?-jobsperthread /integer/? ?-logminduration /time/? ?-timeout /time/?
ns_job create ?-desc /value/? /queueId/ ?/maxthreads/?
ns_job delete /queueId/
ns_job exists /queueId/ /jobId/
ns_job genid
ns_job joblist /queueId/
ns_job jobs /queueId/
ns_job queue ?-detached? ?-head? ?-jobid /value/? /queueId/ /script/
ns_job queuelist
ns_job queues
ns_job threadlist
ns_job wait ?-timeout /time/? /queueId/ /jobId/
ns_job waitany ?-timeout /time/? /queueId/
ns_joinurl /dict/
ns_jpegsize /filename/
ns_kill ?-nocomplain? /pid/ /signal/
ns_library private|shared ?/module/?
ns_localsqltimestamp
ns_localtime
ns_locationproc /script/ ?/arg .../?
ns_log /severity/ /message .../
ns_logctl count
ns_logctl flush
ns_logctl get
ns_logctl grep ?-filename /value/? ?--? /string/
ns_logctl hold
ns_logctl peek
ns_logctl register /script/ ?/arg .../?
ns_logctl release
ns_logctl severities
ns_logctl severity /severity/ ?-color black|red|green|yellow|blue|magenta|cyan|gray|default? ?-intensity normal|bright? ?true|false?
ns_logctl stats
ns_logctl truncate ?/count/?
ns_logctl unregister /handle/
ns_logroll
ns_md file ?-digest /value/? ?-encoding /value/? /filename/ ?/filename .../?
ns_md new ?-digest /value/?
ns_md string ?-digest /value/? ?-encoding /value/? /message/
ns_md5 ?-binary? ?--? /string/
ns_memoize ?-timeout /time/? ?-expires /time/? ?--? /script/ ?/arg .../?
ns_memoize_flush ?/pattern/?
ns_memoize_stats
ns_mkdtemp ?/template/?
ns_mktemp ?-nocomplain? ?--? ?/template/?
ns_moduleload ?-global? ?-init /value/? ?--? /module/ /file/
ns_modulepath /server/ ?/module .../?
ns_mutex create ?/name/?
ns_mutex destroy /mutexId/
ns_mutex eval /mutexId/ /script/
ns_mutex lock /mutexId/
ns_mutex trylock /mutexId/
ns_mutex unlock /mutexId/
ns_normalizepath /path/
ns_pagepath ?-host /value/? ?--? ?/path-segment .../?
ns_param /key/ /value/
ns_parseargs /argspec/ /arg .../
ns_parsefieldvalue ?-lower? ?-single? ?-strict? ?--? /fieldvalue/
ns_parseheader ?-prefix /value/? /set/ /headerline/ ?/disposition/?
ns_parsehostport ?-strict? /hostport/
ns_parsehtml ?-noangle? ?-onlytags? ?--? /html/
ns_parsehttptime /httptime/
ns_parsemessage /message/
ns_parsequery ?-charset /value/? ?-fallbackcharset /value/? ?--? /querystring/
ns_parseurl ?-strict? /url/
ns_pause /id/
ns_perm addgroup /group/ /user/ ?/user .../?
ns_perm adduser ?-allow? ?-deny? ?-clear? ?-salt /value/? ?--? /name/ /encpass/ /userfield/ ?/host .../?
ns_perm allowgroup ?-noinherit? ?--? /method/ /url/ /group .../
ns_perm allowuser ?-noinherit? ?--? /method/ /url/ /user .../
ns_perm checkpass /user/ /passwd/
ns_perm delgroup /name/
ns_perm deluser /name/
ns_perm denygroup ?-noinherit? ?--? /method/ /url/ /group .../
ns_perm denyuser ?-noinherit? ?--? /method/ /url/ /user .../
ns_perm listgroups
ns_perm listperms
ns_perm listusers
ns_perm setpass /user/ /encpass/ ?/salt/?
ns_permpasswd /user/ /oldpasswd/ /newpasswd/
ns_permreload
ns_pngsize /filename/
ns_proxy active /pool/ ?/proxyId/?
ns_proxy cleanup
ns_proxy clear /pool/ ?/proxyId/?
ns_proxy configure /pool/ ?-env /setId/? ?-evaltimeout /time/? ?-exec /value/? ?-gettimeout /time/? ?-idletimeout /time/? ?-init /value/? ?-logminduration /time/? ?-maxruns /integer/? ?-maxslaves /integer/? ?-maxworkers /integer/? ?-recvtimeout /time/? ?-reinit /value/? ?-sendtimeout /time/? ?-waittimeout /time/?
ns_proxy eval /proxyId/ /script/ ?/timeout/?
ns_proxy free /pool/
ns_proxy get /pool/ ?-handles /integer/? ?-timeout /time/?
ns_proxy handles ?/pool/?
ns_proxy ping /proxyId/
ns_proxy pools
ns_proxy put /proxyId/
ns_proxy recv /proxyId/
ns_proxy release /proxyId/
ns_proxy send /proxyId/ /script/
ns_proxy stats /pool/
ns_proxy stop /pool/ ?/proxyId/?
ns_proxy wait /proxyId/ ?/timeout/?
ns_proxy workers /pool/
ns_purgefiles /path/ /maxbackups/
ns_queryexists /key/
ns_queryget /key/ ?/value/?
ns_querygetall /key/ ?/default/?
ns_quotehtml /html/
ns_quotelisttolist /value/
ns_rand ?/maximum/?
ns_reflow_text ?-width /integer/? ?-offset /integer/? ?-prefix /value/? ?--? /text/
ns_register_adp ?-noinherit? ?-expires /time/? ?-options autoabort|detailerror|displayerror|expire|cache|safe|singlescript|stricterror|trace|trimspace|stream? ?--? /method/ /url/ ?/file/?
ns_register_cgi ?-noinherit? ?-matchsegments? ?-path /value/? ?--? /method/ /url/
ns_register_fastpath ?-noinherit? ?--? /method/ /url/
ns_register_fasturl2file ?-noinherit? ?--? /url/ ?/basepath/?
ns_register_filter ?-first? ?--? preauth|postauth|trace /method/ /urlpattern/ /script/ ?/arg .../?
ns_register_proc ?-noinherit? ?--? /method/ /url/ /script/ ?/arg .../?
ns_register_proxy /method/ /protocol/ /script/ ?/arg .../?
ns_register_tcl ?-noinherit? ?--? /method/ /url/ ?/file/?
ns_register_trace /method/ /urlpattern/ /script/ ?/arg .../?
ns_register_url2file ?-noinherit? ?--? /url/ /script/ ?/arg .../?
ns_reinit
ns_requestauthorize /method/ /url/ /authuser/ /authpasswd/ ?/ipaddr/?
ns_respond ?-status /integer/? ?-type /value/? ?-length /integer/? ?-headers /setId/? ?-string /value/? ?-file /value/? ?-fileid /value/? ?-data /data/?
ns_resume /id/
ns_return ?-binary? /status/ /mimetype/ /data/
ns_returnbadrequest /reason/
ns_returnerror /status/ /message/
ns_returnfile /status/ /mimetype/ /filename/
ns_returnforbidden
ns_returnfp /status/ /mimetype/ /channel/ /length/
ns_returnmoved /location/
ns_returnnotfound
ns_returnnotice /status/ /title/ /message/
ns_returnok
ns_returnredirect /location/
ns_returnunauthorized
ns_returnunavailable
ns_rlimit coresize ?/value/?
ns_rlimit datasize ?/value/?
ns_rlimit files ?/value/?
ns_rlimit filesize ?/value/?
ns_rlimit vmsize ?/value/?
ns_rollfile /path/ /maxbackups/
ns_runonce ?-global? ?--? /script/
ns_rwlock create
ns_rwlock destroy /rwlockid/
ns_rwlock readeval /rwlockid/ /script/
ns_rwlock readlock /rwlockid/
ns_rwlock readunlock /rwlockid/
ns_rwlock unlock /rwlockid/
ns_rwlock writeeval /rwlockid/ /script/
ns_rwlock writelock /rwlockid/
ns_rwlock writeunlock /rwlockid/
ns_schedule_daily ?-once? ?-thread? ?--? /hour/ /minute/ /script/ ?/arg .../?
ns_schedule_proc ?-once? ?-thread? ?--? /interval/ /script/ ?/arg .../?
ns_schedule_weekly ?-once? ?-thread? ?--? /day/ /hour/ /minute/ /script/ ?/arg .../?
ns_section ?-update? ?--? /name/
ns_sema create ?/count/?
ns_sema destroy /handle/
ns_sema release /handle/ ?/count/?
ns_sema wait /handle/
ns_sendmail -to /value/ -from /value/ ?-subject /value/? ?-body /value/? ?-headers /value/? ?-bcc /value/? ?-cc /value/?
ns_sendmail_config ?log?
ns_server active /server/? ?-pool /value/? active ?-checkforproxy?
ns_server all /server/? ?-pool /value/? all ?-checkforproxy?
ns_server connectionratelimit /server/? ?-pool /value/? connectionratelimit ?/value/?
ns_server connections /server/? ?-pool /value/? connections
ns_server filters /server/? filters
ns_server hosts /server/? hosts
ns_server map /server/? ?-pool /value/? map ?-noinherit? ?/mapspec/?
ns_server mapped /server/? mapped ?-all? ?-exact? ?-noinherit? /mapspec/
ns_server maxthreads /server/? ?-pool /value/? maxthreads ?/value/?
ns_server minthreads /server/? ?-pool /value/? minthreads ?/value/?
ns_server pagedir /server/? pagedir
ns_server poolratelimit /server/? ?-pool /value/? poolratelimit ?/value/?
ns_server pools /server/? pools
ns_server queued /server/? ?-pool /value/? queued
ns_server requestprocs /server/? requestprocs
ns_server serverdir /server/? serverdir ?-effective?
ns_server stats /server/? ?-pool /value/? stats
ns_server tcllib /server/? tcllib
ns_server threads /server/? ?-pool /value/? threads
ns_server traces /server/? traces
ns_server unmap /server/? ?-pool /value/? unmap ?-noinherit? /mapspec/
ns_server url2file /server/? url2file
ns_server vhostenabled /server/? vhostenabled
ns_server waiting /server/? ?-pool /value/? waiting
ns_serverpath ?-host /value/? ?--? ?/path-segment .../?
ns_serverrootproc /script/ ?/arg .../?
ns_set array /setId/
ns_set cleanup
ns_set copy /setId/
ns_set cput ?-nocase? ?--? /setId/ /key/ /value/
ns_set delete /setId/ /fieldNumber/
ns_set delkey ?-nocase? ?--? /setId/ /key/
ns_set find ?-nocase? ?--? /setId/ /key/
ns_set format ?-noname? ?-lead /value/? ?-separator /value/? ?--? /setId/
ns_set free /setId/
ns_set get ?-all? ?-nocase? ?--? /setId/ /key/ ?/default/?
ns_set isnull /setId/ /fieldNumber/
ns_set key /setId/ /fieldNumber/
ns_set keys /setId/ ?/pattern/?
ns_set list
ns_set merge ?-nocase? ?--? /setId1/ /setId2/
ns_set move /setId1/ /setId2/
ns_set name /setId/
ns_set put /setId/ /key/ /value/
ns_set size /setId/ ?/nrElements/? ?/bufferSize/?
ns_set split /setId/ ?/splitChar/?
ns_set truncate /setId/ /fieldNumber/
ns_set unique ?-nocase? ?--? /setId/ /key/
ns_set update ?-nocase? ?--? /setId/ /key/ /value/
ns_set value /setId/ /fieldNumber/
ns_set values /setId/ ?/pattern/?
ns_setcookie ?-discard true|false? ?-domain /value/? ?-expires /time/? ?-path /value/? ?-replace true|false? ?-samesite strict|lax|none? ?-scriptable true|false? ?-secure true|false? ?--? /name/ /data/
ns_setexpires ?-cache-control public|private|no-cache|no-store|no-transform|must-revalidate|proxy-revalidate? /seconds/
ns_setformencoding /charset/
ns_setgroup /group/
ns_setuser /user/
ns_sha1 ?-binary? ?--? /string/
ns_shortcut_filter preauth|postauth|trace /method/ /urlpattern/
ns_shutdown ?-restart? ?--? ?/timeout/?
ns_sleep /duration/
ns_sls array
ns_sls get /key/ ?/default/?
ns_sls set /key/ /value/
ns_sls unset /key/
ns_sockaccept /sockId/
ns_sockblocking /sockId/
ns_sockcallback /sockId/ /command/ /when/ ?/timeout/?
ns_sockcheck /sockId/
ns_socketpair
ns_socklisten /address/ /port/
ns_socklistencallback /address/ /port/ /script/
ns_socknonblocking /sockId/
ns_socknread /sockId/
ns_sockopen ?-async? ?-localhost /value/? ?-localport /port/? ?-nonblock? ?-timeout /time/? ?--? /host/ /port/
ns_sockselect ?-timeout /time/? /rfds/ /wfds/ /efds/
ns_strcoll ?-locale /value/? ?--? /string1/ /string2/
ns_striphtml /html/
ns_symlink ?-nocomplain? ?--? /filename1/ /filename2/
ns_thread create ?-detached? ?-name /value/? ?--? /script/
ns_thread handle
ns_thread id
ns_thread name ?/name/?
ns_thread stackinfo
ns_thread wait /threadid/
ns_thread yield
ns_time
ns_time adjust /time/
ns_time diff /time1/ /time2/
ns_time format /time/
ns_time get
ns_time incr /time/ /sec/ ?/usec/?
ns_time make /sec/ ?/usec/?
ns_time microseconds /time/
ns_time seconds /time/
ns_totp ?-digest /value/? ?-digits /integer/? ?-interval /integer/? ?-user_id /integer/? ?-key /value/? ?-time /time/?
ns_trim ?-subst? ?-delimiter /value/? ?-prefix /value/? ?--? /text/
ns_truncate /filename/ ?/length/?
ns_unquotehtml /html/
ns_unregister_op ?-noinherit? ?-recurse? ?-server /server/? ?--? /method/ /url/
ns_unregister_url2file ?-noinherit? ?-recurse? ?-server /server/? ?--? /url/
ns_unschedule_proc /id/
ns_upload_stats /key/
ns_url2file /url/
ns_urlcharset /charset/
ns_urldecode ?-charset /value/? ?-fallbackcharset /value/? ?-part query|path|cookie|oauth1? ?--? /string/
ns_urlencode ?-charset /value/? ?-part query|path|cookie|oauth1? ?-uppercase? ?--? /component .../
ns_urlspace get ?-context /setId/? ?-exact? ?-id /integer/? ?-key /value/? ?-noinherit? /URL/
ns_urlspace list ?-id /integer/?
ns_urlspace new
ns_urlspace set ?-contextfilter /value/? ?-id /integer/? ?-key /value/? ?-noinherit? /URL/ /data/
ns_urlspace unset ?-allfilters? ?-id /integer/? ?-key /value/? ?-noinherit? ?-recurse? /URL/
ns_uudecode ?-binary? ?-strict? ?--? /string/
ns_uuencode ?-binary? ?--? /string/
ns_valid_utf8 /string/ ?/varname/?
ns_write /data .../
ns_writefp /channelId/ ?/nbytes/?
ns_writer list ?-server /server/?
ns_writer size ?-driver /value/? ?/size/?
ns_writer streaming ?-driver /value/? ?true|false?
ns_writer submit /data/
ns_writer submitfile ?-headers? ?-offset /memory-size/? ?-size /memory-size/? /filename/
ns_writer submitfiles ?-headers? /filespecs/
nscp users
nsv_append /array/ /key/ /value .../
nsv_array exists /array/
nsv_array get /array/ ?/pattern/?
nsv_array names /array/ ?/pattern/?
nsv_array reset /array/ /list/
nsv_array set /array/ /list/
nsv_array size /array/
nsv_bucket ?/bucket-number/?
nsv_dict append /array/ /key/ /dictkey/ ?/value .../?
nsv_dict exists /array/ /key/ /dictkey .../
nsv_dict get ?-varname /value/? ?--? /array/ /key/ ?/dictkey .../?
nsv_dict getdef ?-varname /value/? ?--? /array/ /key/ /dictkey .../ /default/
nsv_dict incr /array/ /key/ /dictkey/ ?/increment/?
nsv_dict keys /array/ /key/ ?/pattern/?
nsv_dict lappend /array/ /key/ /dictkey/ ?/value .../?
nsv_dict set /array/ /key/ /dictkey .../ /value/
nsv_dict size /array/ /key/
nsv_dict unset /array/ /key/ /dictkey .../
nsv_exists /array/ /key/
nsv_get /array/ /key/ ?/varName/?
nsv_incr /array/ /key/ ?/increment/?
nsv_lappend /array/ /key/ /value .../
nsv_names ?/pattern/?
nsv_set ?-default? ?-reset? ?--? /array/ /key/ ?/value/?
nsv_unset ?-nocomplain? ?--? /array/ ?/key/?
revproxy::upstream /when/ -target /value/ ?-backend_response_callback /value/? ?-backendconnection /value/? ?-connecttimeout /value/? ?-exception_callback /value/? ?-insecure? ?-receivetimeout /value/? ?-regsubs /value .../? ?-sendtimeout /value/? ?-targethost /value/? ?-timeout /value/? ?-url_rewrite_callback /value/? ?-validation_callback /value/?

Deprecated Commands

env

Use ns_env instead.

ns_adp_compress

Use ns_conn compress instead.

ns_adp_eval

Use ns_adp_parse instead.

ns_adp_mime

Use ns_adp_mimetype instead.

ns_adp_registertag

Use ns_adp_registeradp instead.

ns_adp_safeeval

Use ns_adp_parse -safe instead.

ns_adp_stream

Use ns_adp_ctl stream instead.

ns_browsermatch

Use standard API instead.

ns_cancel

Use ns_unschedule_proc instead.

ns_checkurl

Use ns_requestauthorize instead.

ns_chmod

Use file attributes instead.

ns_choosecharset

Use standard internationalization commands instead.

ns_conncptofp

Use ns_conn copy instead.

ns_connsendfp

Use ns_writefp instead.

ns_cookiecharset

Use standard internationalization commands instead.

ns_cp

Use file copy instead.

ns_cpfp

Use fcopy instead.

ns_db verbose

Use ns_logctl debug(sql) ... instead.

ns_event

Use ns_cond instead.

ns_formfieldcharset

Use standard internationalization commands instead.

ns_formvalueput

Not sufficient for today's needs; use standard API instead.

ns_getchannels

Use file channels instead.

ns_geturl

Use ns_http instead.

ns_hmac_sha2

Use ns_hmac string instead.

ns_httpget

Use ns_http instead.

ns_httpopen

Use ns_http instead.

ns_httppost

Use ns_http instead.

ns_ictl oncleanup

Use ns_ictl trace deallocate ... instead.

ns_ictl oncreate

Use ns_ictl trace create ... instead.

ns_ictl ondelete

Use ns_ictl trace delete ... instead.

ns_ictl oninit

Use ns_ictl trace create ... instead.

ns_info filters

Use ns_server filters instead.

ns_info pagedir

Use ns_server pagedir instead.

ns_info pageroot

Use ns_server pagedir instead.

ns_info platform

Use $::tcl_platform(platform) instead.

ns_info requestprocs

Use ns_server requestprocs instead.

ns_info tcllib

Use ns_server tcllib instead.

ns_info traces

Use ns_server traces instead.

ns_info url2file

Use ns_server url2file instead.

ns_info winnt

Use $::tcl_platform(platform) instead.

ns_isformcached

Obsolete.

ns_link

Use file link -hard ... instead.

ns_mkdir

Use file mkdir instead.

ns_paren

One-liner. Use standard API instead.

ns_parsetime

Use clock format ... instead.

ns_passwordcheck

Use ns_perm checkpass instead.

ns_pooldescription

Use ns_dbpooldescription instead.

ns_puts

Use ns_adp_puts instead.

ns_register_adptag

Use ns_adp_registerscript instead.

ns_rename

Use file rename instead.

ns_resetcachedform

Obsolete.

ns_returnadminnotice

Use ns_returnnotice instead.

ns_rmdir

Use file delete instead.

ns_server keepalive

Use ns_conn keepalive instead.

ns_set new

Use ns_set create instead.

ns_set print

Use ns_conn format instead.

ns_set_precision

Use set ::tcl_precision ... instead.

ns_sha2

Use ns_crypto::md string instead.

ns_startcontent

Use ns_headers instead.

ns_tagelement

Use tDOM or similar for accessing HTML content.

ns_tagelementset

Use tDOM or similar for updating HTML snippets.

ns_thread begin

Use ns_thread create ... instead.

ns_thread begindetached

Use ns_thread create -detached ... instead.

ns_thread get

Use ns_thread handle instead.

ns_thread getid

Use ns_thread id instead.

ns_thread join

Use ns_thread wait instead.

ns_tmpnam

Use ns_mktemp instead.

ns_unlink

Use file delete instead.

ns_unregister_proc

Use ns_unregister_op instead.

ns_updateheader

Use ns_set update [ns_conn outputheaders] instead.

ns_var

Use nsv_* instead.

ns_writecontent

Use ns_conn copy instead.

keyldel

Use Tcl dict instead.

keylget

Use Tcl dict instead.

keylkeys

Use Tcl dict instead.

keylset

Use Tcl dict instead.

See Also

nsd

Keywords

NaviServer, command list, deprecated