1<testcase> 2# 3# For this test the server rejects the EPRT command, 4# code in lib591 makes use of curl_multi_timeout() 5# and server does not establish data connection. 6# 7<info> 8<keywords> 9FTP 10PORT 11STOR 12multi 13EPRT refused 14NODATACONN 15timeout 16FAILURE 17</keywords> 18</info> 19 20# Server-side 21<reply> 22<data> 23</data> 24<servercmd> 25NODATACONN 26REPLY EPRT 500 we don't like EPRT now 27</servercmd> 28</reply> 29 30# Client-side 31<client> 32<server> 33ftp 34</server> 35<tool> 36lib591 37</tool> 38<name> 39FTP multi PORT upload, no data conn and no positive prelim. reply 40</name> 41<command> 42ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %FTPTIME2 %LOGDIR/upload%TESTNUMBER 43</command> 44<file name="%LOGDIR/upload%TESTNUMBER"> 45Moooooooooooo for %TESTNUMBER 46 upload this 47</file> 48</client> 49 50# Verify data after the test has been "shot" 51<verify> 52# Strip off parts of the PORT and EPRT commands that might differ 53<strippart> 54s/^PORT (.*)/PORT/ 55s/^EPRT \|1\|(.*)/EPRT \|1\|/ 56</strippart> 57<protocol> 58USER anonymous 59PASS ftp@example.com 60PWD 61CWD path 62EPRT |1| 63PORT 64TYPE I 65STOR %TESTNUMBER 66QUIT 67</protocol> 68<errorcode> 6928 70</errorcode> 71<upload> 72</upload> 73</verify> 74</testcase> 75