teste multiple uploads in one command line
[platform/upstream/curl.git] / tests / data / test149
1 # Server-side
2 <reply>
3 </reply>
4
5 # Client-side
6 <client>
7 <server>
8 ftp
9 </server>
10  <name>
11 FTP with multiple uploads
12  </name>
13  <command>
14 -T log/upload148 ftp://%HOSTIP:%FTPPORT/dir1/148 -T log/upload148 ftp://%HOSTIP:%FTPPORT/dir2/148
15 </command>
16 <file name="log/upload148">
17 send away this contents
18 </file>
19 </client>
20
21 # Verify data after the test has been "shot"
22 <verify>
23 # strip all kinds of PORT, EPRT and LPRT curl can do
24 <strip>
25 ^PORT 127,0,0,1,.*
26 ^EPRT.*
27 ^LPRT.*
28 </strip>
29 <protocol>
30 USER anonymous\r
31 PASS curl_by_daniel@haxx.se\r
32 PWD\r
33 CWD dir1\r
34 EPSV\r
35 TYPE I\r
36 STOR 148\r
37 CWD /nowhere/anywhere\r
38 CWD dir2\r
39 EPSV\r
40 TYPE I\r
41 STOR 148\r
42 </protocol>
43 </verify>