FTP --head to get file size only
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/a/path/103 --head
+ftp://%HOSTIP:%FTPPORT/a/path/104 --head
</command>
</client>
PWD\r
CWD a\r
CWD path\r
-MDTM 103\r
+MDTM 104\r
TYPE I\r
-SIZE 103\r
+SIZE 104\r
REST 0\r
QUIT\r
</protocol>
FTP user+password in URL and ASCII transfer
</name>
<command>
-ftp://userdude:passfellow@%HOSTIP:%FTPPORT/103 --use-ascii
+ftp://userdude:passfellow@%HOSTIP:%FTPPORT/105 --use-ascii
</command>
</client>
EPSV\r
PASV\r
TYPE A\r
-SIZE 103\r
-RETR 103\r
+SIZE 105\r
+RETR 105\r
QUIT\r
</protocol>
</verify>
FTP with multiple uploads
</name>
<command>
--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
</command>
-<file name="log/upload148">
+<file name="log/upload149">
send away this contents
</file>
</client>
CWD dir1\r
EPSV\r
TYPE I\r
-STOR 148\r
+STOR 149\r
CWD /nowhere/anywhere\r
CWD dir2\r
EPSV\r
-STOR 148\r
+STOR 149\r
QUIT\r
</protocol>
-<file name="log/upload148">
+<file name="log/upload149">
send away this contents
</file>
</verify>
FTP dir list PASV with CURLOPT_PORT
</name>
<command>
-ftp://%HOSTIP/520/ %FTPPORT
+ftp://%HOSTIP/521/ %FTPPORT
</command>
</client>
USER xxx\r
PASS yyy\r
PWD\r
-CWD 520\r
+CWD 521\r
EPSV\r
TYPE A\r
LIST\r