• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4FTP
5</keywords>
6</info>
7
8# Server-side
9<reply>
10<servercmd>
11REPLY EPSV 229 Entering Passiv Mode (|||1000000|)
12</servercmd>
13</reply>
14
15# Client-side
16<client>
17<server>
18ftp
19</server>
20<name>
21FTP getting bad port in response to EPSV
22</name>
23<command>
24ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
25</command>
26</client>
27
28# Verify data after the test has been "shot"
29<verify>
30# 13 = CURLE_FTP_WEIRD_PASV_REPLY
31<errorcode>
3213
33</errorcode>
34<protocol>
35USER anonymous
36PASS ftp@example.com
37PWD
38EPSV
39QUIT
40</protocol>
41</verify>
42</testcase>
43