summaryrefslogtreecommitdiff
path: root/tests/data/test296
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-04-18 06:30:28 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-04-18 06:30:28 +0000
commit66fc5498d2a50dd7f32cd21487252de1dd834dda (patch)
tree991647d1486caf48615ca7f4a951075e1107367f /tests/data/test296
parentf30ae93a1fbeb10947e749b1560e6b793d894666 (diff)
downloadcurl-66fc5498d2a50dd7f32cd21487252de1dd834dda.tar.gz
Added test cases 296, 297 and 298 to test --ftp-method handling
Diffstat (limited to 'tests/data/test296')
-rw-r--r--tests/data/test29648
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/data/test296 b/tests/data/test296
new file mode 100644
index 000000000..2008c8bfd
--- /dev/null
+++ b/tests/data/test296
@@ -0,0 +1,48 @@
+<testcase>
+<info>
+<keywords>
+FTP
+PASV
+CWD
+--ftp-method
+multicwd
+</keywords>
+</info>
+#
+# Server-side
+<reply>
+<data>
+bla bla bla
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP CWD with --ftp-method multicwd
+ </name>
+ <command>
+--ftp-method multicwd ftp://%HOSTIP:%FTPPORT/first/second/third/296
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+PWD
+CWD first
+CWD second
+CWD third
+EPSV
+TYPE I
+SIZE 296
+RETR 296
+QUIT
+</protocol>
+</verify>
+</testcase>