xref: /curl/tests/data/test2083 (revision a517378d)
1<testcase>
2<info>
3<keywords>
4FTP
5</keywords>
6</info>
7
8# Server-side
9<reply>
10<data>
11</data>
12</reply>
13
14# Client-side
15<client>
16<server>
17ftp
18</server>
19
20<name>
21Pre-request callback for FTP
22</name>
23<tool>
24libprereq
25</tool>
26
27<command>
28ftp://%HOSTIP:%FTPPORT/test-%TESTNUMBER/
29</command>
30</client>
31
32# Verify data after the test has been "shot"
33<verify>
34<stripfile>
35s/^Local port = \d+/Local port = stripped/
36</stripfile>
37<stdout>
38Connected to %HOSTIP
39Connected from %CLIENTIP
40Remote port = %FTPPORT
41Local port = stripped
42Returning = 0
43</stdout>
44</verify>
45</testcase>
46