]> granicus.if.org Git - curl/commitdiff
Added test case 120, ftp with '-Q -'
authorDaniel Stenberg <daniel@haxx.se>
Mon, 22 Jan 2001 16:00:28 +0000 (16:00 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 22 Jan 2001 16:00:28 +0000 (16:00 +0000)
tests/data/Makefile.am
tests/data/command120.txt [new file with mode: 0644]
tests/data/name120.txt [new file with mode: 0644]
tests/data/prot120.txt [new file with mode: 0644]
tests/data/reply120.txt [new file with mode: 0644]

index 107f5af208c3030bb7212d8d3460d3dada802827..57ef282f86aa2d8275a31cad2fb12e3d7093cacf 100644 (file)
@@ -54,4 +54,5 @@ command9.txt      name15.txt        prot6.txt \
 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
\ No newline at end of file
+command28.txt  name28.txt     prot28.txt     reply28.txt \
+command120.txt  name120.txt     prot120.txt     reply120.txt
diff --git a/tests/data/command120.txt b/tests/data/command120.txt
new file mode 100644 (file)
index 0000000..e35c13d
--- /dev/null
@@ -0,0 +1,3 @@
+ftp://%HOSTIP:%FTPPORT/106 -Q "-DELE file"
+
+
diff --git a/tests/data/name120.txt b/tests/data/name120.txt
new file mode 100644 (file)
index 0000000..83b565d
--- /dev/null
@@ -0,0 +1 @@
+ftp download with post-quote delete operation
diff --git a/tests/data/prot120.txt b/tests/data/prot120.txt
new file mode 100644 (file)
index 0000000..c0b6ae4
--- /dev/null
@@ -0,0 +1,6 @@
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PASV\r
+TYPE I\r
+RETR 106\r
+DELE file\r
diff --git a/tests/data/reply120.txt b/tests/data/reply120.txt
new file mode 100644 (file)
index 0000000..0cfa203
--- /dev/null
@@ -0,0 +1,6 @@
+data
+    to
+      see
+that FTP
+works
+  so does it?