xref: /curl/tests/data/test1569 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5PASV
6RETR
7</keywords>
8</info>
9# Server-side
10<reply>
11<data nocheck="yes">
12data
13    to
14      see
15that FTP
16works
17  so does it?
18</data>
19<servercmd>
20REPLY EPSV 500 no such command
21</servercmd>
22</reply>
23
24# Client-side
25<client>
26<server>
27ftp
28</server>
29<name>
30FTP first type=A then regular URL
31</name>
32<tool>
33lib%TESTNUMBER
34</tool>
35<command>
36"ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=A" ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
37</command>
38
39</client>
40
41# Verify data after the test has been "shot"
42<verify>
43<strip>
44QUIT
45</strip>
46<protocol>
47USER anonymous
48PASS ftp@example.com
49PWD
50EPSV
51PASV
52TYPE A
53RETR %TESTNUMBER
54PASV
55TYPE I
56SIZE %TESTNUMBER
57RETR %TESTNUMBER
58QUIT
59</protocol>
60</verify>
61<stdout>
62data
63    to
64      see
65that FTP
66works
67  so does it?
68data
69    to
70      see
71that FTP
72works
73  so does it?
74</stdout>
75
76</testcase>
77