webif/var/mongoose/cgi-bin/streamsize.jim
hummypkg c208e186c3 rma mode and stream size monitor
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1202 2a923420-c742-0410-a762-8d5b09965624
2012-11-05 22:36:04 +00:00

13 lines
192 B
Plaintext
Executable File

#!/mod/bin/jimsh
set stream "/mnt/hd3/Streamer_down_file"
puts "Content-type: text/plain\n"
if {[file exists $stream]} {
puts -nonewline [file size $stream]
} else {
puts -nonewline 0
}