]> git.sven.stormbind.net Git - sven/tclcurl.git/blobdiff - tests/ftp.tcl
Imported Upstream version 7.19.6
[sven/tclcurl.git] / tests / ftp.tcl
diff --git a/tests/ftp.tcl b/tests/ftp.tcl
new file mode 100755 (executable)
index 0000000..e3f0533
--- /dev/null
@@ -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"]
+
+
+
+
+
+
+
+
+
+