test EPSV and PASV response handling when they get well-formated data back
[platform/upstream/curl.git] / tests / data / test238
1 # Server-side
2 <reply>
3 </reply>
4
5 # Client-side
6 <client>
7 <server>
8 ftp
9 </server>
10  <name>
11 FTP getting bad port in 229-response to EPSV
12  </name>
13  <command>
14 ftp://%HOSTIP:%FTPPORT/238
15 </command>
16 <file name="log/ftpserver.cmd">
17 REPLY EPSV 229 Entering Passiv Mode (|||1000000|)
18 </file>
19 </client>
20
21 # Verify data after the test has been "shot"
22 <verify>
23 # 7 => CURLE_COULDNT_CONNECT
24 <errorcode>
25 7
26 </errorcode>
27 <protocol>
28 USER anonymous\r
29 PASS curl_by_daniel@haxx.se\r
30 PWD\r
31 EPSV\r
32 </protocol>
33 </verify>