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 florentis
1 days ago
tcl by torsten
4 days ago
tcl by Florentis
8 days ago
tcl by iobates
15 days ago
tcl by mookie
18 days ago
tcl by sebres
19 days ago
tcl by iobates
36 days ago
tcl by iobates
36 days ago
tcl by iobates
36 days ago
tcl by FLORENTIS
40 days ago
Submit
New paste
Documentation
From Jabber