]> granicus.if.org Git - curl/commitdiff
test case 121
authorDaniel Stenberg <daniel@haxx.se>
Mon, 22 Jan 2001 16:05:12 +0000 (16:05 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 22 Jan 2001 16:05:12 +0000 (16:05 +0000)
tests/data/Makefile.am
tests/data/command121.txt [new file with mode: 0644]
tests/data/name121.txt [new file with mode: 0644]
tests/data/prot121.txt [new file with mode: 0644]
tests/data/reply121.txt [new file with mode: 0644]

index 57ef282f86aa2d8275a31cad2fb12e3d7093cacf..02c32a6c61caa9ea1ae8de39bad545f484bba697 100644 (file)
@@ -55,4 +55,5 @@ error111.txt      name16.txt        prot7.txt \
 command26.txt  prot26.txt     command27.txt  prot27.txt \
 name26.txt     reply26.txt    name27.txt     stdout27.txt \
 command28.txt  name28.txt     prot28.txt     reply28.txt \
-command120.txt  name120.txt     prot120.txt     reply120.txt
+command120.txt  name120.txt     prot120.txt     reply120.txt \
+command121.txt  name121.txt     prot121.txt     reply121.txt
diff --git a/tests/data/command121.txt b/tests/data/command121.txt
new file mode 100644 (file)
index 0000000..b2c6e09
--- /dev/null
@@ -0,0 +1 @@
+ftp://%HOSTIP:%FTPPORT/106 -Q "-DELE after_transfer" -Q "DELE before_transfer"
diff --git a/tests/data/name121.txt b/tests/data/name121.txt
new file mode 100644 (file)
index 0000000..ae17f9d
--- /dev/null
@@ -0,0 +1 @@
+ftp download with post- and pre-transfer delete operations
diff --git a/tests/data/prot121.txt b/tests/data/prot121.txt
new file mode 100644 (file)
index 0000000..749d562
--- /dev/null
@@ -0,0 +1,7 @@
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+DELE before_transfer\r
+PASV\r
+TYPE I\r
+RETR 106\r
+DELE after_transfer\r
diff --git a/tests/data/reply121.txt b/tests/data/reply121.txt
new file mode 100644 (file)
index 0000000..0cfa203
--- /dev/null
@@ -0,0 +1,6 @@
+data
+    to
+      see
+that FTP
+works
+  so does it?