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