]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test103
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test103
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 PORT
6 RETR
7 </keywords>
8 </info>
9 # Server-side
10 <reply>
11 <data>
12 data
13     to
14       see
15 that FTP
16 works
17   so does it?
18 </data>
19 </reply>
20
21 # Client-side
22 <client>
23 <server>
24 ftp
25 </server>
26  <name>
27 FTP RETR PORT with CWD
28  </name>
29  <command>
30 ftp://%HOSTIP:%FTPPORT/a/path/103 -P -
31 </command>
32 </client>
33
34 # Verify data after the test has been "shot"
35 <verify>
36 # Strip all valid kinds of PORT and EPRT that curl can send
37 <strip>
38 ^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
39 ^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
40 </strip>
41 <protocol>
42 USER anonymous\r
43 PASS ftp@example.com\r
44 PWD\r
45 CWD a\r
46 CWD path\r
47 PORT 127,0,0,1,0,0\r
48 TYPE I\r
49 SIZE 103\r
50 RETR 103\r
51 QUIT\r
52 </protocol>
53 </verify>
54 </testcase>