Git init
[external/curl.git] / tests / data / test541
1 <testcase>
2 # Server-side
3 <reply>
4 </reply>
5
6 # Client-side
7 <client>
8 <server>
9 ftp
10 </server>
11 # tool is what to use instead of 'curl'
12 <tool>
13 lib541
14 </tool>
15
16  <name>
17 FTP upload and upload same file again without rewind
18  </name>
19  <command>
20 ftp://%HOSTIP:%FTPPORT/541 log/upload541
21 </command>
22 <file name="log/upload541">
23 Contents
24 of
25 a file
26 to verify
27 ftp
28 upload
29
30
31 works?
32 </file>
33 </client>
34
35 # Verify data after the test has been "shot"
36 <verify>
37 <upload>
38 </upload>
39 <protocol>
40 USER anonymous\r
41 PASS ftp@example.com\r
42 PWD\r
43 EPSV\r
44 TYPE I\r
45 STOR 541\r
46 EPSV\r
47 STOR 541\r
48 QUIT\r
49 </protocol>
50 </verify>
51 </testcase>