chiark / gitweb /
Import curl_7.56.1.orig.tar.gz
[curl.git] / tests / data / test216
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 upload two files to the same dir
19  </name>
20  <command>
21 -T log/upload.216 ftp://%HOSTIP:%FTPPORT/a/path/216/ -T log/upload.216 ftp://%HOSTIP:%FTPPORT/a/path/216/%2e%2eanotherup.216
22 </command>
23 <file name="log/upload.216">
24 upload this file twice
25 </file>
26 </client>
27
28 # Verify data after the test has been "shot"
29 <verify>
30 <protocol>
31 USER anonymous\r
32 PASS ftp@example.com\r
33 PWD\r
34 CWD a\r
35 CWD path\r
36 CWD 216\r
37 EPSV\r
38 TYPE I\r
39 STOR upload.216\r
40 EPSV\r
41 STOR ..anotherup.216\r
42 QUIT\r
43 </protocol>
44 </verify>
45 </testcase>