b2c7be03a4
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1445 2a923420-c742-0410-a762-8d5b09965624
18 lines
247 B
Plaintext
Executable File
18 lines
247 B
Plaintext
Executable File
#!/mod/bin/jimsh
|
|
|
|
package require cgi
|
|
source /mod/webif/lib/setup
|
|
require cat
|
|
|
|
httpheader "image/bmp"
|
|
|
|
set rfile [cgi_get file]
|
|
set pos [cgi_get pos 0]
|
|
|
|
set f "[file rootname $rfile].pos$pos.bmp"
|
|
if {[file exists $f]} {
|
|
cat $f
|
|
file delete $f
|
|
}
|
|
|