summaryrefslogtreecommitdiff
path: root/tests/data/test122
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test122')
-rw-r--r--tests/data/test12245
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/data/test122 b/tests/data/test122
new file mode 100644
index 0000000..fb1dd05
--- /dev/null
+++ b/tests/data/test122
@@ -0,0 +1,45 @@
+<testcase>
+<info>
+<keywords>
+FTP
+PASV
+Resume
+</keywords>
+</info>
+# Server-side
+<reply>
+<size>
+5
+</size>
+<servercmd>
+REPLY EPSV 500 no such command
+</servercmd>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP download resume with whole file already downloaded
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/122 -C 5
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+PWD
+EPSV
+PASV
+TYPE I
+SIZE 122
+QUIT
+</protocol>
+</verify>
+</testcase>