X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=tests%2Ffile.tcl;fp=tests%2Ffile.tcl;h=6643a1240c99ba1320d205932a806950705d62f6;hb=b0e6fb6e4379fb87fa2854b84a56c5ad49c644da;hp=0000000000000000000000000000000000000000;hpb=c9a5bcd9d76f699909b24e71a2a216d36062ab0b;p=sven%2Ftclcurl.git diff --git a/tests/file.tcl b/tests/file.tcl new file mode 100755 index 0000000..6643a12 --- /dev/null +++ b/tests/file.tcl @@ -0,0 +1,17 @@ +package require TclCurl + +set curlHandle [curl::init] +$curlHandle configure -url "127.0.0.1" -file "index.html" +$curlHandle perform + +puts "First transfer finished\n" + +$curlHandle configure -header 1 -file cosa.html +$curlHandle perform + +$curlHandle cleanup + + + + +