[ -f test1 ] || ln -s $(srcdir)/test* .
EXTRA_DIST = \
-test1 test104 test13 test19 test21 test3 test5 \
-test10 test105 test14 test2 test22 test300 test6 \
-test100 test106 test15 test20 test23 test33 test7 \
-test101 test107 test16 test200 test24 test4 test8 \
-test102 test11 test17 test201 test25 test400 test9 \
-test103 test12 test18 test202 test26 test43 test44
+test1 test104 test11 test15 test20 test23 test33 test6 \
+test10 test105 test110 test16 test200 test24 test4 test7 \
+test100 test106 test111 test17 test201 test25 test400 test8 \
+test101 test107 test12 test18 test202 test26 test43 test9 \
+test102 test108 test13 test19 test21 test3 test44 \
+test103 test109 test14 test2 test22 test300 test5
--- /dev/null
+# Server-side
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+ <name>
+FTP PORT upload with CWD
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/108 -T log/upload108 -P -
+</command>
+<file name="log/upload108">
+Moooooooooooo
+ upload this
+</file>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^PORT .*
+</strip>
+<protocol>
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PWD\r
+CWD CWD/STOR/RETR\r
+PORT 127,0,0,1,5,109\r
+TYPE I\r
+STOR 108\r
+</protocol>
+<upload>
+Moooooooooooo
+ upload this
+</upload>
+</verify>
--- /dev/null
+# Server-side
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+ <name>
+FTP PASV upload append
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/109 -T log/upload109 --append
+</command>
+<file name="log/upload109">
+Moooooooooooo
+ upload this
+</file>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+</strip>
+<protocol>
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PWD\r
+PASV\r
+TYPE I\r
+APPE 109\r
+</protocol>
+<upload>
+Moooooooooooo
+ upload this
+</upload>
+</verify>
--- /dev/null
+# Server-side
+<reply>
+<data>
+expected to be a file without the first part
+but we emulate that
+</data>
+<size>
+85
+</size>
+</reply>
+
+# Client-side
+<client>
+ <name>
+FTP download resume with set limit
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/110 -C 20
+</command>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+</strip>
+<protocol>
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PWD\r
+PASV\r
+TYPE I\r
+SIZE 110\r
+REST 20\r
+RETR 110\r
+</protocol>
+</verify>
--- /dev/null
+# Server-side
+<reply>
+<size>
+85
+</size>
+</reply>
+
+# Client-side
+<client>
+ <name>
+FTP download resume beyond file size
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/111 -C 2000
+</command>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+36
+</errorcode>
+<strip>
+</strip>
+<protocol>
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PWD\r
+PASV\r
+TYPE I\r
+SIZE 111\r
+</protocol>
+</verify>