ich habe ein kleines Problem mit TCL-Skript. Ich möchte eine Base64 codierte JPG Datei, als binäre Datei auf der CCU speichern. Wie geht das? Ich habe schon das hier...
Code: Alles auswählen
#!/bin/tclsh
package require base64
source /www/config/cgi.tcl
load tclrega.so
set file ""
cgi_eval {
cgi_input
cgi_content_type "text/plain"
cgi_http_head
cgi_import "file"
}
Grüße,
ldittmar