xref: /curl/tests/data/test227 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5post-quote
6pre-quote
7</keywords>
8</info>
9# Server-side
10<reply>
11<data>
12data
13    to
14      see
15that FTP
16works
17  so does it?
18</data>
19<servercmd>
20REPLY EPSV 500 no such command
21REPLY FAIL 500 this might not be a failure!
22</servercmd>
23</reply>
24
25# Client-side
26<client>
27<server>
28ftp
29</server>
30<name>
31FTP with quote ops
32</name>
33<command>
34ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD"
35</command>
36</client>
37
38# Verify data after the test has been "shot"
39<verify>
40<strip>
41QUIT
42</strip>
43<protocol>
44USER anonymous
45PASS ftp@example.com
46PWD
47NOOP 1
48FAIL
49EPSV
50PASV
51TYPE I
52NOOP 2
53FAIL HARD
54SIZE %TESTNUMBER
55RETR %TESTNUMBER
56NOOP 3
57QUIT
58</protocol>
59</verify>
60</testcase>
61