xref: /curl/tests/data/test505 (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# tool is what to use instead of 'curl'
18<tool>
19lib%TESTNUMBER
20</tool>
21
22<name>
23FTP upload with rename after transfer
24</name>
25<command>
26ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/upload%TESTNUMBER
27</command>
28<file name="%LOGDIR/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<strip>
44QUIT
45</strip>
46<upload>
47Contents
48of
49a file
50to verify
51ftp
52upload
53
54
55works?
56</upload>
57<protocol>
58USER anonymous
59PASS ftp@example.com
60PWD
61EPSV
62TYPE I
63STOR %TESTNUMBER
64RNFR %TESTNUMBER
65RNTO %TESTNUMBER-forreal
66QUIT
67</protocol>
68</verify>
69</testcase>
70