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/ftp.tcl Executable file
View File

@ -0,0 +1,22 @@
package require TclCurl
puts "nobody==1 --- header==1"
curl::transfer -url "ftp://127.0.0.1/pub/indust2.gif" -nobody 1 -header 1
puts "nobody==0 --- header ignored"
curl::transfer -url "ftp://127.0.0.1/pub/indust2.gif" -nobody 0 \
-file cosa.gif
puts "nobody==1 --- HEADERS==0"
curl::transfer -url "ftp://127.0.0.1/pub/indust2.gif" -nobody 1 \
-header 0 -postquote [list "mkdir nada"]