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