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