diff --git a/tests/data/test104 b/tests/data/test104
index d9d91cd83..82df98aee 100644
--- a/tests/data/test104
+++ b/tests/data/test104
@@ -21,7 +21,7 @@ ftp
FTP --head to get file size only
-ftp://%HOSTIP:%FTPPORT/a/path/103 --head
+ftp://%HOSTIP:%FTPPORT/a/path/104 --head
@@ -33,9 +33,9 @@ PASS ftp@example.com
PWD
CWD a
CWD path
-MDTM 103
+MDTM 104
TYPE I
-SIZE 103
+SIZE 104
REST 0
QUIT
diff --git a/tests/data/test105 b/tests/data/test105
index cab24f71d..cc811aeb8 100644
--- a/tests/data/test105
+++ b/tests/data/test105
@@ -32,7 +32,7 @@ ftp
FTP user+password in URL and ASCII transfer
-ftp://userdude:passfellow@%HOSTIP:%FTPPORT/103 --use-ascii
+ftp://userdude:passfellow@%HOSTIP:%FTPPORT/105 --use-ascii
@@ -45,8 +45,8 @@ PWD
EPSV
PASV
TYPE A
-SIZE 103
-RETR 103
+SIZE 105
+RETR 105
QUIT
diff --git a/tests/data/test149 b/tests/data/test149
index 64c0c6ca4..bdbdcc77f 100644
--- a/tests/data/test149
+++ b/tests/data/test149
@@ -12,9 +12,9 @@ ftp
FTP with multiple uploads
--T log/upload148 ftp://%HOSTIP:%FTPPORT/dir1/148 -T log/upload148 ftp://%HOSTIP:%FTPPORT/dir2/148
+-T log/upload149 ftp://%HOSTIP:%FTPPORT/dir1/149 -T log/upload149 ftp://%HOSTIP:%FTPPORT/dir2/149
-
+
send away this contents
@@ -33,14 +33,14 @@ PWD
CWD dir1
EPSV
TYPE I
-STOR 148
+STOR 149
CWD /nowhere/anywhere
CWD dir2
EPSV
-STOR 148
+STOR 149
QUIT
-
+
send away this contents
diff --git a/tests/data/test521 b/tests/data/test521
index 57f413f7a..9bc5501f4 100644
--- a/tests/data/test521
+++ b/tests/data/test521
@@ -39,7 +39,7 @@ lib521
FTP dir list PASV with CURLOPT_PORT
-ftp://%HOSTIP/520/ %FTPPORT
+ftp://%HOSTIP/521/ %FTPPORT
@@ -50,7 +50,7 @@ ftp://%HOSTIP/520/ %FTPPORT
USER xxx
PASS yyy
PWD
-CWD 520
+CWD 521
EPSV
TYPE A
LIST