]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test1316
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test1316
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 PASV
6 LIST
7 HTTP
8 HTTP CONNECT
9 HTTP proxy
10 </keywords>
11 </info>
12 #
13 # Server-side
14 <reply>
15
16 <connect>
17 HTTP/1.1 200 Mighty fine indeed\r
18 Magic: sure you can FTP me\r
19 \r
20 </connect>
21
22 # When doing LIST, we get the default list output hard-coded in the test
23 # FTP server
24 <datacheck>
25 HTTP/1.1 200 Mighty fine indeed\r
26 Magic: sure you can FTP me\r
27 \r
28 HTTP/1.1 200 Mighty fine indeed\r
29 Magic: sure you can FTP me\r
30 \r
31 total 20
32 drwxr-xr-x   8 98       98           512 Oct 22 13:06 .
33 drwxr-xr-x   8 98       98           512 Oct 22 13:06 ..
34 drwxr-xr-x   2 98       98           512 May  2  1996 .NeXT
35 -r--r--r--   1 0        1             35 Jul 16  1996 README
36 lrwxrwxrwx   1 0        1              7 Dec  9  1999 bin -> usr/bin
37 dr-xr-xr-x   2 0        1            512 Oct  1  1997 dev
38 drwxrwxrwx   2 98       98           512 May 29 16:04 download.html
39 dr-xr-xr-x   2 0        1            512 Nov 30  1995 etc
40 drwxrwxrwx   2 98       1            512 Oct 30 14:33 pub
41 dr-xr-xr-x   5 0        1            512 Oct  1  1997 usr
42 </datacheck>
43 </reply>
44
45 #
46 # Client-side
47 <client>
48
49 # please send the real CONNECT connect off to the FTP server's port
50 <connectport>
51 %FTPPORT
52 </connectport>
53 <server>
54 ftp
55 http-proxy
56 </server>
57  <name>
58 FTP LIST tunneled through HTTP proxy
59  </name>
60  <command>
61 ftp://ftp.1316:%FTPPORT/ -p -x %HOSTIP:%PROXYPORT
62 </command>
63 </client>
64
65 #
66 # Verify data after the test has been "shot"
67 <verify>
68 <protocol>
69 USER anonymous\r
70 PASS ftp@example.com\r
71 PWD\r
72 EPSV\r
73 TYPE A\r
74 LIST\r
75 QUIT\r
76 </protocol>
77 </verify>
78 </testcase>