Imported Upstream version 7.59.0
[platform/upstream/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
32 PASS ftp@example.com
33 PWD
34 CWD a
35 CWD path
36 CWD 216
37 EPSV
38 TYPE I
39 STOR upload.216
40 EPSV
41 STOR ..anotherup.216
42 QUIT
43 </protocol>
44 </verify>
45 </testcase>