]> granicus.if.org Git - curl/commitdiff
FTP test case data
authorDaniel Stenberg <daniel@haxx.se>
Tue, 21 Nov 2000 17:04:59 +0000 (17:04 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 21 Nov 2000 17:04:59 +0000 (17:04 +0000)
16 files changed:
tests/data/command100.txt [new file with mode: 0644]
tests/data/command101.txt [new file with mode: 0644]
tests/data/command102.txt [new file with mode: 0644]
tests/data/command103.txt [new file with mode: 0644]
tests/data/name100.txt [new file with mode: 0644]
tests/data/name101.txt [new file with mode: 0644]
tests/data/name102.txt [new file with mode: 0644]
tests/data/name103.txt [new file with mode: 0644]
tests/data/prot100.txt [new file with mode: 0644]
tests/data/prot101.txt [new file with mode: 0644]
tests/data/prot102.txt [new file with mode: 0644]
tests/data/prot103.txt [new file with mode: 0644]
tests/data/reply100.txt [new file with mode: 0644]
tests/data/reply101.txt [new file with mode: 0644]
tests/data/reply102.txt [new file with mode: 0644]
tests/data/reply103.txt [new file with mode: 0644]

diff --git a/tests/data/command100.txt b/tests/data/command100.txt
new file mode 100644 (file)
index 0000000..a3a4452
--- /dev/null
@@ -0,0 +1 @@
+ftp://%HOSTIP:%FTPPORT/
diff --git a/tests/data/command101.txt b/tests/data/command101.txt
new file mode 100644 (file)
index 0000000..83e26f2
--- /dev/null
@@ -0,0 +1,3 @@
+ftp://%HOSTIP:%FTPPORT/ -P %HOSTIP
+
+
diff --git a/tests/data/command102.txt b/tests/data/command102.txt
new file mode 100644 (file)
index 0000000..f3e870e
--- /dev/null
@@ -0,0 +1 @@
+ftp://%HOSTIP:%FTPPORT/102
diff --git a/tests/data/command103.txt b/tests/data/command103.txt
new file mode 100644 (file)
index 0000000..3f327fd
--- /dev/null
@@ -0,0 +1,4 @@
+ftp://%HOSTIP:%FTPPORT/a/path/103 -P -
+
+
+
diff --git a/tests/data/name100.txt b/tests/data/name100.txt
new file mode 100644 (file)
index 0000000..148cedd
--- /dev/null
@@ -0,0 +1 @@
+FTP dir list PASV
diff --git a/tests/data/name101.txt b/tests/data/name101.txt
new file mode 100644 (file)
index 0000000..a15e892
--- /dev/null
@@ -0,0 +1,2 @@
+FTP dir list, PORT with specified IP
+
diff --git a/tests/data/name102.txt b/tests/data/name102.txt
new file mode 100644 (file)
index 0000000..87c1fe7
--- /dev/null
@@ -0,0 +1 @@
+FTP RETR PASV
diff --git a/tests/data/name103.txt b/tests/data/name103.txt
new file mode 100644 (file)
index 0000000..b6dff0f
--- /dev/null
@@ -0,0 +1 @@
+FTP RETR PORT with CWD
diff --git a/tests/data/prot100.txt b/tests/data/prot100.txt
new file mode 100644 (file)
index 0000000..d7ce219
--- /dev/null
@@ -0,0 +1,5 @@
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PASV\r
+TYPE A\r
+LIST\r
diff --git a/tests/data/prot101.txt b/tests/data/prot101.txt
new file mode 100644 (file)
index 0000000..7fd492d
--- /dev/null
@@ -0,0 +1,5 @@
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PORT 127,0,0,1,243,212\r
+TYPE A\r
+LIST\r
diff --git a/tests/data/prot102.txt b/tests/data/prot102.txt
new file mode 100644 (file)
index 0000000..373c189
--- /dev/null
@@ -0,0 +1,5 @@
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PASV\r
+TYPE I\r
+RETR 102\r
diff --git a/tests/data/prot103.txt b/tests/data/prot103.txt
new file mode 100644 (file)
index 0000000..42e857e
--- /dev/null
@@ -0,0 +1,6 @@
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+CWD a/path/\r
+PORT 127,0,0,1,246,33\r
+TYPE I\r
+RETR 103\r
diff --git a/tests/data/reply100.txt b/tests/data/reply100.txt
new file mode 100644 (file)
index 0000000..1baaf93
--- /dev/null
@@ -0,0 +1,11 @@
+total 20\r
+drwxr-xr-x   8 98       98           512 Oct 22 13:06 .\r
+drwxr-xr-x   8 98       98           512 Oct 22 13:06 ..\r
+drwxr-xr-x   2 98       98           512 May  2  1996 .NeXT\r
+-r--r--r--   1 0        1             35 Jul 16  1996 README\r
+lrwxrwxrwx   1 0        1              7 Dec  9  1999 bin -> usr/bin\r
+dr-xr-xr-x   2 0        1            512 Oct  1  1997 dev\r
+drwxrwxrwx   2 98       98           512 May 29 16:04 download.html\r
+dr-xr-xr-x   2 0        1            512 Nov 30  1995 etc\r
+drwxrwxrwx   2 98       1            512 Oct 30 14:33 pub\r
+dr-xr-xr-x   5 0        1            512 Oct  1  1997 usr\r
diff --git a/tests/data/reply101.txt b/tests/data/reply101.txt
new file mode 100644 (file)
index 0000000..1baaf93
--- /dev/null
@@ -0,0 +1,11 @@
+total 20\r
+drwxr-xr-x   8 98       98           512 Oct 22 13:06 .\r
+drwxr-xr-x   8 98       98           512 Oct 22 13:06 ..\r
+drwxr-xr-x   2 98       98           512 May  2  1996 .NeXT\r
+-r--r--r--   1 0        1             35 Jul 16  1996 README\r
+lrwxrwxrwx   1 0        1              7 Dec  9  1999 bin -> usr/bin\r
+dr-xr-xr-x   2 0        1            512 Oct  1  1997 dev\r
+drwxrwxrwx   2 98       98           512 May 29 16:04 download.html\r
+dr-xr-xr-x   2 0        1            512 Nov 30  1995 etc\r
+drwxrwxrwx   2 98       1            512 Oct 30 14:33 pub\r
+dr-xr-xr-x   5 0        1            512 Oct  1  1997 usr\r
diff --git a/tests/data/reply102.txt b/tests/data/reply102.txt
new file mode 100644 (file)
index 0000000..0cfa203
--- /dev/null
@@ -0,0 +1,6 @@
+data
+    to
+      see
+that FTP
+works
+  so does it?
diff --git a/tests/data/reply103.txt b/tests/data/reply103.txt
new file mode 100644 (file)
index 0000000..0cfa203
--- /dev/null
@@ -0,0 +1,6 @@
+data
+    to
+      see
+that FTP
+works
+  so does it?