Git init
[external/curl.git] / tests / data / test236
1 <testcase>
2
3 # Server-side
4 <reply>
5 <servercmd>
6 REPLY SIZE 550 access to this file is very much denied
7 REPLY APPE 550 I said: access to this file is very much denied
8 REPLY STOR 550 I said: access to this file is very much denied
9 </servercmd>
10 </reply>
11
12 # Client-side
13 <client>
14 <server>
15 ftp
16 </server>
17  <name>
18 FTP resume upload but denied access to remote file
19  </name>
20  <command>
21 ftp://%HOSTIP:%FTPPORT/236 -T log/file236.txt -C -
22 </command>
23 <file name="log/file236.txt">
24 Test data
25 </file>
26 </client>
27
28 # Verify data after the test has been "shot"
29 <verify>
30
31 <protocol>
32 USER anonymous\r
33 PASS ftp@example.com\r
34 PWD\r
35 EPSV\r
36 TYPE I\r
37 SIZE 236\r
38 STOR 236\r
39 QUIT\r
40 </protocol>
41
42 #  (25) Failed FTP upload: 550
43 <errorcode>
44 25
45 </errorcode>
46 </verify>
47 </testcase>