1<testcase>
2# Server-side
3<reply>
4</reply>
5
6# Client-side
7<client>
8<server>
9ftp
10</server>
11# tool is what to use instead of 'curl'
12<tool>
13lib505
14</tool>
15
16 <name>
17FTP upload with rename after transfer
18 </name>
19 <command>
20ftp://%HOSTIP:%FTPPORT/505 log/upload505
21</command>
22<file name="log/upload505">
23Contents
24of
25a file
26to verify
27ftp
28upload
29
30
31works?
32</file>
33</client>
34
35# Verify data after the test has been "shot"
36<verify>
37<upload>
38Contents
39of
40a file
41to verify
42ftp
43upload
44
45
46works?
47</upload>
48<protocol>
49USER anonymous
50PASS ftp@example.com
51PWD
52EPSV
53TYPE I
54STOR 505
55RNFR 505
56RNTO 505-forreal
57QUIT
58</protocol>
59</verify>
60</testcase>
61