aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test298
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/test298
parentf30ae93a1fbeb10947e749b1560e6b793d894666 (diff)
Added test cases 296, 297 and 298 to test --ftp-method handling
Diffstat (limited to 'tests/data/test298')
-rw-r--r--tests/data/test29845
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/data/test298 b/tests/data/test298
new file mode 100644
index 000000000..80913e84b
--- /dev/null
+++ b/tests/data/test298
@@ -0,0 +1,45 @@
+<testcase>
+<info>
+<keywords>
+FTP
+PASV
+CWD
+--ftp-method
+nocwd
+</keywords>
+</info>
+#
+# Server-side
+<reply>
+<data>
+bla bla bla
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP CWD with --ftp-method nocwd
+ </name>
+ <command>
+--ftp-method nocwd ftp://%HOSTIP:%FTPPORT/first/second/third/298
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+PWD
+EPSV
+TYPE I
+SIZE first/second/third/298
+RETR first/second/third/298
+QUIT
+</protocol>
+</verify>
+</testcase>