tizen 2.3.1 release
[external/curl.git] / tests / data / test149
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  <name>
18 FTP with multiple uploads
19  </name>
20  <command>
21 -T log/upload149 ftp://%HOSTIP:%FTPPORT/dir1/149 -T log/upload149 ftp://%HOSTIP:%FTPPORT/dir2/149
22 </command>
23 <file name="log/upload149">
24 send away this contents
25 </file>
26 </client>
27
28 # Verify data after the test has been "shot"
29 <verify>
30 # Strip all valid kinds of PORT and EPRT that curl can send
31 <strip>
32 ^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
33 ^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
34 </strip>
35 <protocol>
36 USER anonymous\r
37 PASS ftp@example.com\r
38 PWD\r
39 CWD dir1\r
40 EPSV\r
41 TYPE I\r
42 STOR 149\r
43 CWD /\r
44 CWD dir2\r
45 EPSV\r
46 STOR 149\r
47 QUIT\r
48 </protocol>
49 <file name="log/upload149">
50 send away this contents
51 </file>
52 </verify>
53 </testcase>