xref: /third_party/curl/tests/data/test541 (revision 13498266)
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<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>
58