From: Kevin W. <kw...@co...> - 2014-10-09 21:50:04
|
Russell, On 10/9/14, 3:49 PM, Russell Owen wrote: > package require http > > set outname "saturn.jpg" > set url > "http://apod.nasa.gov/apod/image/1409/saturnequinox_cassini_7227.jpg" > set out [open "temp" w] > set token [::http::geturl $url -channel $out] > close $out I see the bug, but have no idea what the problem is--I don't maintain the http package and so wouldn't know where to begin debugging it. Any reason you are using a Tcl call instead of something from Python, cf. urllib? --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |