xref: /curl/tests/data/test107 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5EPSV
6STOR
7</keywords>
8</info>
9
10# Client-side
11<client>
12<server>
13ftp
14</server>
15<name>
16FTP PASV upload file
17</name>
18<file name="%LOGDIR/test%TESTNUMBER.txt">
19data
20    to
21      see
22that FTP
23works
24  so does it?
25</file>
26<command>
27ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt
28</command>
29</client>
30
31# Verify data after the test has been "shot"
32<verify>
33<strip>
34QUIT
35</strip>
36<upload>
37data
38    to
39      see
40that FTP
41works
42  so does it?
43</upload>
44<protocol>
45USER anonymous
46PASS ftp@example.com
47PWD
48EPSV
49TYPE I
50STOR %TESTNUMBER
51QUIT
52</protocol>
53</verify>
54</testcase>
55