blob: 2dc75f8a47ac4c9473ced0b67030c03edeba0bd7 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<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# tool is what to use instead of 'curl'
18<tool>
19lib%TESTNUMBER
20</tool>
21
22 <name>
23FTP upload and upload same file again without rewind
24 </name>
25 <command>
26ftp://%HOSTIP:%FTPPORT/%TESTNUMBER log/upload%TESTNUMBER
27</command>
28<file name="log/upload%TESTNUMBER">
29Contents
30of
31a file
32to verify
33ftp
34upload
35
36
37works?
38</file>
39</client>
40
41# Verify data after the test has been "shot"
42<verify>
43<upload>
44</upload>
45<protocol>
46USER anonymous
47PASS ftp@example.com
48PWD
49EPSV
50TYPE I
51STOR %TESTNUMBER
52EPSV
53STOR %TESTNUMBER
54QUIT
55</protocol>
56</verify>
57</testcase>