initial checkin of TclCurl

This commit is contained in:
Steve Havelka
2014-02-05 16:43:59 -08:00
commit 639b49517b
95 changed files with 30934 additions and 0 deletions

22
tests/stderrNoStderr.tcl Executable file
View File

@ -0,0 +1,22 @@
package require TclCurl
set curlHandle [curl::init]
puts "First it goes into error.txt"
$curlHandle configure -url 127.0.0.1/~andres/cosa&co.tar -stderr error.txt \
-noprogress 0 -file cosa.tar
catch {$curlHandle perform}
puts "And then to stderr:"
$curlHandle configure -stderr ""
catch {$curlHandle perform}
$curlHandle cleanup