Git init
[external/curl.git] / tests / data / test149
1 <testcase>
2 # Server-side
3 <reply>
4 </reply>
5
6 # Client-side
7 <client>
8 <server>
9 ftp
10 </server>
11  <name>
12 FTP with multiple uploads
13  </name>
14  <command>
15 -T log/upload149 ftp://%HOSTIP:%FTPPORT/dir1/149 -T log/upload149 ftp://%HOSTIP:%FTPPORT/dir2/149
16 </command>
17 <file name="log/upload149">
18 send away this contents
19 </file>
20 </client>
21
22 # Verify data after the test has been "shot"
23 <verify>
24 # Strip all valid kinds of PORT and EPRT that curl can send
25 <strip>
26 ^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
27 ^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
28 </strip>
29 <protocol>
30 USER anonymous\r
31 PASS ftp@example.com\r
32 PWD\r
33 CWD dir1\r
34 EPSV\r
35 TYPE I\r
36 STOR 149\r
37 CWD /\r
38 CWD dir2\r
39 EPSV\r
40 STOR 149\r
41 QUIT\r
42 </protocol>
43 <file name="log/upload149">
44 send away this contents
45 </file>
46 </verify>
47 </testcase>