http::geturl usage
Posted to
tcl
by evilotto at Fri Sep 28 23:00:51 GMT 2018
view raw
package
require http 2
proc
httpDownload {url
file
} {
set
tok [http::geturl
$url
]
set
fd [
open
$file
w]
puts
-nonewline
$fd
[http::data
$tok
]
close
$fd
http::cleanup
$tok
}
Recent Posts
tcl by oldlaptop
21 secs ago
tcl by aku
5 hours ago
tcl by kbk
11 hours ago
tcl by kbk
12 hours ago
tcl by Jack
14 hours ago
tcl by kbk
1 days ago
tcl by kbk
1 days ago
tcl by msiism
16 days ago
tcl by sebres
22 days ago
tcl by mjanssen
23 days ago
Submit
New paste
Documentation
From Jabber