aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test297
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test297')
-rw-r--r--tests/data/test29746
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/data/test297 b/tests/data/test297
new file mode 100644
index 000000000..36573f8b9
--- /dev/null
+++ b/tests/data/test297
@@ -0,0 +1,46 @@
+<testcase>
+<info>
+<keywords>
+FTP
+PASV
+CWD
+--ftp-method
+singlecwd
+</keywords>
+</info>
+#
+# Server-side
+<reply>
+<data>
+bla bla bla
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP CWD with --ftp-method singlecwd
+ </name>
+ <command>
+--ftp-method singlecwd ftp://%HOSTIP:%FTPPORT/first/second/third/297
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+PWD
+CWD first/second/third
+EPSV
+TYPE I
+SIZE 297
+RETR 297
+QUIT
+</protocol>
+</verify>
+</testcase>