]> granicus.if.org Git - curl/commitdiff
verify -u username: with ftp to use a blank password
authorDaniel Stenberg <daniel@haxx.se>
Thu, 9 Jan 2003 16:47:55 +0000 (16:47 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 9 Jan 2003 16:47:55 +0000 (16:47 +0000)
tests/data/test136 [new file with mode: 0644]

diff --git a/tests/data/test136 b/tests/data/test136
new file mode 100644 (file)
index 0000000..d17bb04
--- /dev/null
@@ -0,0 +1,29 @@
+# Server-side
+<reply>
+<data>
+0123456789abcdef
+</data>
+</reply>
+
+# Client-side
+<client>
+ <name>
+FTP with user and no password
+ </name>
+ <command>
+-u user: ftp://%HOSTIP:%FTPPORT/136
+</command>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER user\r
+PASS \r
+PWD\r
+EPSV\r
+TYPE I\r
+SIZE 136\r
+RETR 136\r
+</protocol>
+</verify>