Initial commit of visual studio 9 git build superproject.
[git-build-vc9.git] / curl / tests / data / test2000
blobb5f4777d54d445cd9b4fb6d2e453bba47c5f83cf
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 PASV
6 FILE
7 multiprotocol
8 </keywords>
9 </info>
12 # Server-side
13 <reply>
14 <data nocheck="1">
15 data
16     to
17       see
18 that FTP
19 works
20   so does it?
21 </data>
22 </reply>
25 # Client-side
26 <client>
27 <server>
28 ftp
29 file
30 </server>
31  <name>
32 FTP RETR followed by FILE
33  </name>
34  <command>
35 ftp://%HOSTIP:%FTPPORT/2000 file://localhost/%PWD/log/test2000.txt
36 </command>
37 <file name="log/test2000.txt">
38 foo
39    bar
40 bar
41    foo
42 moo
43 </file>
44 </client>
47 # Verify data after the test has been "shot"
48 <verify>
49 <protocol>
50 USER anonymous\r
51 PASS ftp@example.com\r
52 PWD\r
53 EPSV\r
54 TYPE I\r
55 SIZE 2000\r
56 RETR 2000\r
57 QUIT\r
58 </protocol>
59 <stdout>
60 data
61     to
62       see
63 that FTP
64 works
65   so does it?
66 foo
67    bar
68 bar
69    foo
70 moo
71 </stdout>
72 </verify>
73 </testcase>