From d166e85e0a1e58aeb999328e3bf003c0d55a251c Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Thu, 1 May 2003 17:48:59 +0000
Subject: [PATCH] FTP URL with type=a

---
 tests/data/Makefile.am |  2 +-
 tests/data/test143     | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 1 deletion(-)
 create mode 100644 tests/data/test143

diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index dd4867cbb0..d83cff5955 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -19,4 +19,4 @@ test304  test39   test32   test128  test48 test306 \
 test130  test131  test132  test133  test134 test135 test403 test305 \
 test49 test50 test51 test52 test53 test54 test55 test56 \
 test500 test501 test502 test503 test504 test136 test57 test137 test138 \
-test58 test139 test140 test141 test59 test60 test61 test142
+test58 test139 test140 test141 test59 test60 test61 test142 test143
diff --git a/tests/data/test143 b/tests/data/test143
new file mode 100644
index 0000000000..567a2d6721
--- /dev/null
+++ b/tests/data/test143
@@ -0,0 +1,34 @@
+# Server-side
+<reply>
+<data>
+bla bla bla
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP URL with type=a
+ </name>
+ <command>
+"ftp://%HOSTIP:%FTPPORT/%2ftmp/moo/143;type=a"
+</command>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+CWD /tmp
+CWD moo
+EPSV
+TYPE A
+SIZE 143
+RETR 143
+</protocol>
+</verify>
-- 
GitLab