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