xref: /curl/tests/data/test216 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5</keywords>
6</info>
7
8# Server-side
9<reply>
10</reply>
11
12# Client-side
13<client>
14<server>
15ftp
16</server>
17<name>
18FTP upload two files to the same dir
19</name>
20<command>
21-T %LOGDIR/upload.%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/ -T %LOGDIR/upload.%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/%2e%2eanotherup.%TESTNUMBER
22</command>
23<file name="%LOGDIR/upload.%TESTNUMBER">
24upload this file twice
25</file>
26</client>
27
28# Verify data after the test has been "shot"
29<verify>
30<strip>
31QUIT
32</strip>
33<protocol>
34USER anonymous
35PASS ftp@example.com
36PWD
37CWD a
38CWD path
39CWD %TESTNUMBER
40EPSV
41TYPE I
42STOR upload.%TESTNUMBER
43EPSV
44STOR ..anotherup.%TESTNUMBER
45QUIT
46</protocol>
47</verify>
48</testcase>
49