xref: /curl/tests/data/test541 (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 and upload same file again without rewind
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>
47</upload>
48<protocol>
49USER anonymous
50PASS ftp@example.com
51PWD
52EPSV
53TYPE I
54STOR %TESTNUMBER
55EPSV
56STOR %TESTNUMBER
57QUIT
58</protocol>
59</verify>
60</testcase>
61