diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 717d7a1be..8d64cf81a 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -32,4 +32,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test231 test232 test228 test229 test233 test234 test235 test236 test520 \
test237 test238 test239 test243 test245 test246 test247 test248 test249 \
test250 test251 test252 test253 test254 test255 test521 test522 test523 \
- test256 test257 test258 test259 test260
+ test256 test257 test258 test259 test260 test261
diff --git a/tests/data/test261 b/tests/data/test261
new file mode 100644
index 000000000..419bf9b26
--- /dev/null
+++ b/tests/data/test261
@@ -0,0 +1,49 @@
+
+
+FTP
+EPSV
+RETR
+
+
+#
+# Server-side
+
+
+hepp
+
+
+REPLY TYPE 226 Kind of on the positive side!
+
+
+
+#
+# Client-side
+
+
+ftp
+
+
+FTP RETR with 226 response code to TYPE
+
+
+ftp://%HOSTIP:%FTPPORT/261
+
+
+
+#
+# Verify data after the test has been "shot"
+
+
+filter off really nothing
+
+
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+EPSV
+TYPE I
+SIZE 261
+RETR 261
+QUIT
+
+