xref: /curl/tests/data/test236 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5</keywords>
6</info>
7
8# Server-side
9<reply>
10<servercmd>
11REPLY SIZE 550 access to this file is very much denied
12REPLY APPE 550 I said: access to this file is very much denied
13REPLY STOR 550 I said: access to this file is very much denied
14REPLY SIZE 500 command not understood
15</servercmd>
16</reply>
17
18# Client-side
19<client>
20<server>
21ftp
22</server>
23<name>
24FTP resume upload but denied access to remote file
25</name>
26<command>
27ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/file%TESTNUMBER.txt -C -
28</command>
29<file name="%LOGDIR/file%TESTNUMBER.txt">
30Test data
31</file>
32</client>
33
34# Verify data after the test has been "shot"
35<verify>
36<strip>
37QUIT
38</strip>
39
40<protocol>
41USER anonymous
42PASS ftp@example.com
43PWD
44EPSV
45TYPE I
46SIZE %TESTNUMBER
47STOR %TESTNUMBER
48QUIT
49</protocol>
50
51#  (25) Failed FTP upload: 550
52<errorcode>
5325
54</errorcode>
55</verify>
56</testcase>
57